You are viewing a single comment's thread. Return to all comments →
Read input with
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
instead of
Scanner scanner = new Scanner(System.in);
Seems like cookies are disabled on this browser, please enable them to open this website
Big Sorting
You are viewing a single comment's thread. Return to all comments →
Read input with
instead of