[Community Puzzle] Darts Checkout Routes - Puzzle discussion

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Harry.B,validated by @DeanTheMachine,@ManuelJ and @FredericLocquet.
If you have any issues, feel free to ping them.

just to remind people to look well the values at the end of each segment… i waste a lot of time when doing this puzzle the first time :slight_smile:

I have troubles passing validator 5. Is there any hind about this validator?

Validator 5: Just make sure you output 0 if the number of darts is 0.

Thank you 5DN1L. But i’m talking about validator when I submit my code. The test validators I passed without any problems.

Validator 5 is similar to test 5. The only difference is it is a much lower target value. However, as the darts available is 0, the target value is irrelevant. As @5DN1L mentioned, ensure your code handles outputting 0 combinations when given 0 darts.

Thank you guys I finally found my mistake. (The high score in test 5 didn’t trigger an error that occured for smaller score values).

1 Like