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.
This fixed timeout on 9-12 for me, on Java 8. The other suggestions to change the boilerplate by passing in[][] did not, but this worked.
Can someone explain why though? Is there a memory constraint problem with passing in the 2D array instead of the bufferedReader, consequentially slowing the program down? Not too sure what's the difference.
Frequency Queries
You are viewing a single comment's thread. Return to all comments →
This fixed timeout on 9-12 for me, on Java 8. The other suggestions to change the boilerplate by passing in[][] did not, but this worked.
Can someone explain why though? Is there a memory constraint problem with passing in the 2D array instead of the bufferedReader, consequentially slowing the program down? Not too sure what's the difference.