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.
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