yet another "time limit exceeded" post
Posted: Thu Mar 31, 2011 11:52 pm
I've been using the judge at programming-challenges.com in Java. Why Java? Why not. Anyway, I wanted to get started with the uva.es judge for various reasons, mainly the wider variety of problems, but also that some problems at programming-challenges.com can't be judged properly and they suggest trying here.
Anyway, I uploaded submissions in Java to two very simple problems (10137/The Trip and 706/LCD Display) which already passed the programming-challenges.com judge, and for both submissions got time limit exceeded.
Both solutions are very straightforward and use the Java template (that is, the readln() function, Main class, etc.).
So ... what is the strategy for getting Java solutions to pass this judge? Or should I switch to C++?
(I should mention I'm using Java 1.5/1.6.)
Thanks -- David
Anyway, I uploaded submissions in Java to two very simple problems (10137/The Trip and 706/LCD Display) which already passed the programming-challenges.com judge, and for both submissions got time limit exceeded.
Both solutions are very straightforward and use the Java template (that is, the readln() function, Main class, etc.).
So ... what is the strategy for getting Java solutions to pass this judge? Or should I switch to C++?
(I should mention I'm using Java 1.5/1.6.)
Thanks -- David