| 
 | 
back to boardJava TLE#4 Could you please help me? Where is my mistake? I got Time Limit Exceeded on test 4.     Edited by author 28.07.2012 15:54 Re: Java TLE#4 Posted by  Noob 28 Jul 2012 13:49 Don't use Scanner, it's very slow. Read FAQ to learn how to do fast input in Java. Re: Java TLE#4 Oh, thank you so much for answering me so fast! You really helped me. Re: Java TLE#4 In addition you can use printwriter to print output faster which might help to reduce running time. :)  |  
  | 
|