You are viewing a single comment's thread. Return to all comments →
for those using Java I suggest replacing the boilerplate code with this (Java 8):
BufferedReader b = new BufferedReader(new InputStreamReader(System.in)); String[] unsorted = b.lines().skip(1).toArray(String[]::new);
or similar, cause Scanner takes too long to read from 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 →
for those using Java I suggest replacing the boilerplate code with this (Java 8):
or similar, cause Scanner takes too long to read from System.in