Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @David_Augusto_Villa,validated by @field3,@DeanTheMachine 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 @David_Augusto_Villa,validated by @field3,@DeanTheMachine and @TBali.
If you have any issues, feel free to ping them.
Hello,
I dont understand why the validator 7 is failing with my code (in C++)
(it was validated in my tests at 100%)
Could you please help me ?
[Mod edit: Please avoid posting full codes on the forum.]
Try this custom case:
Input
5
0 0 0 0 0
0 3 2 3 0
0 2 1 2 0
0 3 3 1 0
0 0 0 0 0
Output
yes
Many thanks !
I did not see the issue with my final check on i or j == n (instead of n-1)
Oh, sorry I missed this! Updated test 7 and renamed as Cradled Valley.