[Community Puzzle] Cooking passion

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Edjy,validated by @5DN1L,@AsteelPoro and @FredericLocquet.
If you have any issues, feel free to ping them.

If you can’t reach 100%, here is one hint:
In test cases, only quantity your dog bought contains kg/L.
In validators, recipe also contains kg/L.

1 Like

Hello, I need help to complete this puzzle, all test cases in the IDE work but test cases 5 and 6 in the final test do not work.

I would like some custom test cases to help me complete it please :slightly_smiling_face:

Not really sure what custom cases may help you :sweat_smile: The last validator contains an ingredient which is in kg and is less than 1 kg. Not sure if that’s causing you issues?

Perhaps you may PM me your code so that I can come up with a custom case.

Thank you!
I have this error message when i try to share my code with you in PM.

“An error occurred: Sorry, you cannot send a personal message to that user.”

Oh, I didn’t anticipate that would happen. I’ve just sent you a PM, I think you should be able to reply to it :slight_smile:

It’s done, thank you

Ah, ok, it’s just a formatting issue. Just make sure when an output is in kg or L, you format it to show at least 1 decimal place, and you’re all good!

Thank you very very much 5D1L !!
I’v 100% now :smile:

test 5 dans le validator, il y a une ligne d’instruction avec un - … si vous ne checkez as uniquement le 1er caractère cela fera echouer le test 5.