+ 2

problem with the fourth test of the 2D map(CodeCoach)

Hello). There is a problem with only 4 test in the 2D map Code Coach problem. There is my solution. Please can anyone tell me what could be the problem? https://code.sololearn.com/cF8I9ohDSpl0

12th Sep 2020, 4:33 PM
Olga Nikishina
Olga Nikishina - avatar
1 Answer
+ 2
The problem was solved. The problem was that in some cases there is going beyond the permissible bounds of the array. This was solved by adding additional checks for array out of bounds.
12th Sep 2020, 5:45 PM
Olga Nikishina
Olga Nikishina - avatar