|
|
вернуться в форумJava is so slow Hi, I've solved this problem in C++ but when trying it in Java I can't avoid TL on test11. What should I do in order ot improve my IO operations. I use BufferedReader and PrintWriter. I can share my code if necessary Re: Java is so slow Послано Sni 13 ноя 2007 16:26 you can call print only one time; and don`t use many concatenations Re: Java is so slow StreamTokenizer in = new StreamTokenizer(new BufferedReader( new InputStreamReader(System.in))); PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out)); it will be enough. Good luck~ Hi, I've solved this problem in C++ but when trying it in Java I can't avoid TL on test11. What should I do in order ot improve my IO operations. I use BufferedReader and PrintWriter. I can share my code if necessary |
|
|