Java get TLE with O(n) Algorithm.
Java get TLE with O(n) Algorithm.
RE:Java get TLE with O(n) Algorithm.
The time limit of Problem 1007 has been set 10s for Java,and the problem has been rejudged.you get wa now.
RE:Java get TLE with O(n) Algorithm.
[ i will copy-paste the reply from another post ]
well.. i do not encourage programming using Java during contests. Java is great for developing software applications with lots of classes, but it is too slow compared to C/C++. Programming during contests is, among other things, about the running time of the program. I do not think someone should be favoured with a larger time limit just because it uses Java, when C/C++ is always an option.
i disagree with setting a larger time limit for Java programs.
Pages: 1