Thanks for raising the issue, but you should also reply to the post where I published the translation (or message me on Discord), otherwise I don't get notified. Which I didn't, for 2 years... Random tests generated a bunch of atoms, not strings, but I just added a fix for that.
There are duplicate names and surnames in the arrays of names and surnames but there will be no duplicates in the inputs: look at the function "compose". If you think it's not enough, in addition I can modify the arrays of names and surnames in order to suppress duplicates in these arrays.
I can't see how I can resolve such issues quicker using CW Discord but you will tell me.
% If the article is not in the catalog then R equals "".
% R substrings (separated by "\n") must be in alphabetic order
catalog(S, Art, R) :-
R = "".
```.
I thought it was sufficient there and not in the description because in the description it can cause trouble to newcomers in other language but I can have been wrong. What do you think?
Thanks for raising the issue, but you should also reply to the post where I published the translation (or message me on Discord), otherwise I don't get notified. Which I didn't, for 2 years... Random tests generated a bunch of atoms, not strings, but I just added a fix for that.
Removed the link
Thanks! Looking by alphabetical order I didn't see it-(
We do, actually (only active for the past week or so), but you probably need to get pinged, and I never see you online :D
We don't have a Prolog group.
Uhm, we can reply quicker with @ mentions and stuff..? (unlike here, where you never know if (and when) you'll get notified)
I'll close the issue then.
There are duplicate names and surnames in the arrays of names and surnames but there will be no duplicates in the inputs: look at the function "compose". If you think it's not enough, in addition I can modify the arrays of names and surnames in order to suppress duplicates in these arrays.
I can't see how I can resolve such issues quicker using CW Discord but you will tell me.
You could resolve such issues much quicker using CW Discord, BTW :D
I still see some duplicate names and surnames in random tests' code, so I won't close this issue yet.
OK, thanks you all. It seems I have forgotten this part of the description, sorry!
So as not to invalidate solutions I modified the random tests: duplicates should not appear any more in the inputs.
From description:
So either this test case doesn't exist, or it's incorrect for Prolog (using the ref solution, which removes duplicates). Both cases are problematic.
@razetime: please can you give an example so that everyting be clear? As far as I know tests are the same as in other languages but I can be wrong.
Not probably, definitely x)
This comment is hidden because it contains spoiler information about the solution
No problem. I added a note for Prolog language.
OK, I understand.
Did you see the "Initial solution":
Loading more items...