|
|
back to boardDiscussion of Problem 1347. Blogtimelimits. very interesting. admins, please pay attention Posted by artie 18 Feb 2008 19:04 Is it okay when my code gets accepted (0.35 seconds) and same code after few minutes gets TL. I write programs in Java. And it was very hard for me to tune up my program to run it in time, because in this problem we have to read and write large amount of data. Usually jury increases timelimits for Java in such situations. And most surprising thing: why BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out)); always gets TL and PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); gets AC (sometimes :)))) |
|
|