CodeChef Discuss
Wrong question posted in puzzles
bug reports
help
vulcanfire314
June 6, 2023, 8:51am
1
Screenshot 2023-06-06 083408
1686×529 59.3 KB
PUZZLE - CODE COMPLETION
See, here the loop iteration goes to n-1 which is borne to show a compilation error, how was I able to solve it?
I want my points back.
justani
June 6, 2023, 8:58am
2
You can add this code at the end no?
if (i == n-2) { break; }