|
|
back to boardHey, I wonder what did people do in order to get less than 0.3s using Java? The minimum I got is only 0.343s 5590KB I use StreamTokeziner(BufferedReader) for input; PrintWriter for output; int[] ID, byte[] M, and O(n*m) outputing. I also tried to make it O(n) with LinkedList, but it didn't decrease time too much... Any suggestions to speed it up are welcome! =) |
|
|