0_0_13140711_31696.cpp:1:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_13140711_31696.cpp:2:1: error: 'import' does not name a type
import java.math.BigInteger;
^
0_0_13140711_31696.cpp:4:12: error: expected ':' before 'static'
public static void main(String arg[]){
^
0_0_13140711_31696.cpp:4:29: error: 'String' has not been declared
public static void main(String arg[]){
^
0_0_13140711_31696.cpp:23:1: error: expected ';' after class definition
}
^
0_0_13140711_31696.cpp: In static member function 'static void Main::main(int*)':
0_0_13140711_31696.cpp:5:9: error: 'Scanner' was not declared in this scope
Scanner sc=new Scanner(System.in);
^
0_0_13140711_31696.cpp:6:9: error: 'BigInteger' was not declared in this scope
BigInteger a,b,c;
^
0_0_13140711_31696.cpp:9:11: error: 'sc' was not declared in this scope
n=sc.nextInt();i=n;
^
0_0_13140711_31696.cpp:11:13: error: 'a' was not declared in this scope
a=sc.nextBigInteger();
^
0_0_13140711_31696.cpp:12:13: error: 'b' was not declared in this scope
b=sc.nextBigInteger();
^
0_0_13140711_31696.cpp:13:13: error: 'c' was not declared in this scope
c=a.add(b);
^
0_0_13140711_31696.cpp:15:13: error: 'System' was not declared in this scope
System.out.println("Case "+(i-n+1)+":");
^
0_0_13140711_31696.cpp:15:48: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
System.out.println("Case "+(i-n+1)+":");
^
|