Sign in $ create-account
~/problems ~/discussion ~/contests ~/submission
← ~/submission
run #1013 Compile Error P2011 · Sort the Array
Time 0 ms Memory 0 K Lang Java
// Judge Result
Compile Error. /tmp/voj-1013/cCnyzNptEWca.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class cCnyzNptEWca /tmp/voj-1013/cCnyzNptEWca.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class cCnyzNptEWca 2 errors Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.
// Source
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
           if((a>=0&&a<=32767)&&(b>=0&&b<32767)){
        System.out.println(a + b);
        }
    }
}
length 281 B
Compile Error
Judge Result
Run ID#1013
ProblemP2011
Submitted byjsy5893
LanguageJava
Used Time0 ms
Used Memory0 K
Code length281 B
Submit TimeJanuary 12, 2016, 6:40:35 PM
Execute TimeJanuary 12, 2016, 6:40:38 PM
// Judger
Java
View Problem