Search found 5 matches
- Wed Dec 05, 2007 5:02 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10515 - Powers Et Al.
- Replies: 124
- Views: 32974
10515 - TLE How could this be??! ;-(
import java.util.*; public class Main { static boolean isZero(String s) { for (int i=s.length()-1; i>=0; i--) { if (s.charAt(i)!=48) return false; } //if (Integer.parseInt(s)!=0) return false; //if (s.length()==1 && s.charAt(0)==48) return true; return false; } public static void main(Strin...
- Tue Oct 23, 2007 4:25 pm
- Forum: Java
- Topic: Input data - Compile Error
- Replies: 4
- Views: 4444
- Mon Oct 15, 2007 5:03 am
- Forum: Java
- Topic: Input data - Compile Error
- Replies: 4
- Views: 4444
- Sun Oct 14, 2007 1:54 pm
- Forum: Java
- Topic: Input data - Compile Error
- Replies: 4
- Views: 4444
Input data - Compile Error
Hi all, Today I tried to submit answers to Columbus weekend Contest #4, but could not pass the "compile error". Even when I did not include any external libraries. The judges still returned me "Compile error". Here's my code: class Main { static String readLine() throws Exception...
- Sun Oct 14, 2007 1:02 pm
- Forum: Java
- Topic: Restricted Function
- Replies: 1
- Views: 2029