You are viewing a single comment's thread. Return to all comments →
Try to use
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
to read the input. It has 100000 test cases so Scanner won't work
Seems like cookies are disabled on this browser, please enable them to open this website
Bigger is Greater
You are viewing a single comment's thread. Return to all comments →
Try to use
to read the input. It has 100000 test cases so Scanner won't work