We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The last test case is fundamentally incorrect, as in the contraints section it is mentioned that the input consists of n lines of integer string barring any spaces, though it won't matter in this case because the input consists of only border elements, so your code probably won't even consider the input.
Input was:
2
1 2
1 2
instead of:
2
12
12
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Cavity Map
You are viewing a single comment's thread. Return to all comments →
The last test case is fundamentally incorrect, as in the contraints section it is mentioned that the input consists of n lines of integer string barring any spaces, though it won't matter in this case because the input consists of only border elements, so your code probably won't even consider the input. Input was:
2
1 2
1 2
instead of:
2
12
12