ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1347. Blog

time limit in Java
Posted by artie 11 Feb 2008 18:14
How to get it in time using Java? Two different versions of my programs get TL on test 16 and test 9 (I tried to create less objects in this version but it is even slower).

PS: I use BufferedReader, StringTokenizer, Collections.sort() to sort ArrayList of strings and BufferedWriter. Which of that slows down my program?