Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @poppu,validated by @User123,@KAKAROT_MPL and @TBali.
If you have any issues, feel free to ping them.
Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @poppu,validated by @User123,@KAKAROT_MPL and @TBali.
If you have any issues, feel free to ping them.
Hi guys / Bonjour
J’ai vu que tu étais français @poppu donc je vais rédiger mon message dans la langue de Molière.
J’ai commencé à résoudre ton défi.
Et je suis étonné par le résultat du test 2.
Il s’agit d’un test avec une comparaison de type BY_NUMBER, donc si j’ai bien compris on se base sur l’indice des lignes pour les comparer une à une : ligne 1 du fichier d’origine comparée à ligne 1 du fichier révisée, 2 avec 2, etc
Ainsi pour moi le résultat attendu est :
CHANGE: The progression path is divided in four parts: development speed, algorithms, optimisation and artificial intelligence. ---> Some experience points are awarded on tasks achievement
ADD: The progression path is divided in four parts: development speed, algorithms, optimisation and artificial intelligence.
Or le test attends ADD puis CHANGE.
Ai-je mal compris un élément de l’énoncé ?
Merci d’avance et bon réveillon !
J’étais aussi confus jusqu’à ce que je voie:
you must write a line for each difference found in alphabetical order.
Je suis clairement passé à côté de cette information… Merci !
C’est les lignes de “DIFF” qu’il faut ordonnée alphabétiquement ?
Merci d’avance
Oui, y compris “ADD”, par exemple.
Hello @chris-scientist ,
Sorry for the late reply.
Yes I am french but I answer in English in order other people who don’t speak french can read it too ![]()
As @Mooblius said, you have to sort the differences found in alphabetical order.
This puzzle focus on differences to find, order is not really important.
However the puzzle mechanism is design in a way it needs an exact match between the expected value and the one returned by the code to validate.
So the purpose of the sort phase is too ensure that every passing implementations will match the expected results. Even if they are not in the same order as my own code returns.
I hope it helps to understand why I request to sort results.
Thanks for testing it and happy new year ![]()
Hi @poppu
With the help give by @Mooblius, there are fews weeks, i have solve the puzzle !
Thanks for your response and happy new year !
Hi to All
, and thanks @poppu (and @User123, @KAKAROT_MPL & @TBali validators
) for this funny diff exercise
!
=> i’ve got pleasure solving it
…
(but maybe the first one in C# : no other solution available for review
)
Bye to all : have
sun,
fun and
CodinGames
!
Hello @Jp82,
Unfortunately I don’t have much sun for now
But fun is here ![]()
Thank you for this feedback ![]()