0_0_26626463_26248.cpp:1:1: error: 'import' does not name a type
import java.io.*;
^
0_0_26626463_26248.cpp:2:1: error: 'import' does not name a type
import java.util.*;
^
0_0_26626463_26248.cpp:3:1: error: 'import' does not name a type
import java.math.*;
^
0_0_26626463_26248.cpp:5:12: error: expected ':' before 'static'
public static void main(String[] args) {
^
0_0_26626463_26248.cpp:5:29: error: 'String' has not been declared
public static void main(String[] args) {
^
0_0_26626463_26248.cpp:5:38: error: expected ',' or '...' before 'args'
public static void main(String[] args) {
^
0_0_26626463_26248.cpp:37:1: error: expected ';' after class definition
}
^
0_0_26626463_26248.cpp: In static member function 'static void Main::main(int*)':
0_0_26626463_26248.cpp:6:9: error: 'Scanner' was not declared in this scope
Scanner in = new Scanner(System.in);
^
0_0_26626463_26248.cpp:7:19: error: 'in' was not declared in this scope
int cas = in.nextInt();
^
0_0_26626463_26248.cpp:8:9: error: 'BigInteger' was not declared in this scope
BigInteger one = BigInteger.ONE;
^
0_0_26626463_26248.cpp:9:20: error: expected ';' before 'a'
BigInteger a, b, x, y;
^
0_0_26626463_26248.cpp:13:13: error: 'a' was not declared in this scope
a = in.nextBigInteger().subtract(one);
^
0_0_26626463_26248.cpp:13:46: error: 'one' was not declared in this scope
a = in.nextBigInteger().subtract(one);
^
0_0_26626463_26248.cpp:14:13: error: 'x' was not declared in this scope
x = in.nextBigInteger().subtract(one);
^
0_0_26626463_26248.cpp:15:13: error: 'b' was not declared in this scope
b = in.nextBigInteger().subtract(one);
^
0_0_26626463_26248.cpp:16:13: error: 'y' was not declared in this scope
y = in.nextBigInteger().subtract(one);
^
0_0_26626463_26248.cpp:17:13: error: 'boolean' was not declared in this scope
boolean ok = false;
^
0_0_26626463_26248.cpp:18:24: error: expected ';' before 'bit'
BigInteger bit = BigInteger.valueOf(1).shiftLeft(n-1);
^
0_0_26626463_26248.cpp:19:19: error: expected unqualified-id before 'xor' token
a = a.xor(b);
^
0_0_26626463_26248.cpp:20:19: error: expected unqualified-id before 'xor' token
x = x.xor(y);
^
0_0_26626463_26248.cpp:23:21: error: 'ok' was not declared in this scope
ok = true;
^
0_0_26626463_26248.cpp:26:25: error: expected ';' before 't'
boolean t = a.testBit(0);
^
0_0_26626463_26248.cpp:28:20: error: 't' was not declared in this scope
if(t == true) a = a.xor(bit);
^
0_0_26626463_26248.cpp:28:37: error: expected unqualified-id before 'xor' token
if(t == true) a = a.xor(bit);
^
0_0_26626463_26248.cpp:28:41: error: 'bit' was not declared in this scope
if(t == true) a = a.xor(bit);
^
0_0_26626463_26248.cpp:30:13: error: 'System' was not declared in this scope
System.out.print("Case "+ca+": ");
^
0_0_26626463_26248.cpp:30:41: error: invalid operands of types 'const char*' and 'const char [3]' to binary 'operator+'
System.out.print("Case "+ca+": ");
^
0_0_26626463_26248.cpp:31:16: error: 'ok' was not declared in this scope
if(ok == true)
^
|