0_0_17102928_15102.cpp:1:1: error: 'import' does not name a type
import java.math.BigInteger;
^
0_0_17102928_15102.cpp:2:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_17102928_15102.cpp:7:12: error: 'Scanner' does not name a type
static Scanner cin=new Scanner(System.in);
^
0_0_17102928_15102.cpp:8:12: error: expected ':' before 'static'
public static void main(String[] args)
^
0_0_17102928_15102.cpp:8:29: error: 'String' has not been declared
public static void main(String[] args)
^
0_0_17102928_15102.cpp:8:38: error: expected ',' or '...' before 'args'
public static void main(String[] args)
^
0_0_17102928_15102.cpp:50:1: error: expected ';' after class definition
}
^
0_0_17102928_15102.cpp: In static member function 'static void Main::main(int*)':
0_0_17102928_15102.cpp:11:9: error: 'BigInteger' was not declared in this scope
BigInteger c,sum,x,two=BigInteger.valueOf(2),four,eight;
^
0_0_17102928_15102.cpp:12:9: error: 'four' was not declared in this scope
four=BigInteger.valueOf(4);
^
0_0_17102928_15102.cpp:13:9: error: 'eight' was not declared in this scope
eight=BigInteger.valueOf(8);
^
0_0_17102928_15102.cpp:14:15: error: 'cin' was not declared in this scope
while(cin.hasNext())
^
0_0_17102928_15102.cpp:17:13: error: 'c' was not declared in this scope
c=cin.nextBigInteger();
^
0_0_17102928_15102.cpp:18:13: error: 'sum' was not declared in this scope
sum=BigInteger.ZERO;
^
0_0_17102928_15102.cpp:21:17: error: 'x' was not declared in this scope
x=c.pow(n*n);
^
0_0_17102928_15102.cpp:23:19: error: 'two' was not declared in this scope
x=two.multiply(c.pow(n*n/4));
^
0_0_17102928_15102.cpp:35:17: error: 'x' was not declared in this scope
x=c.pow(n*n);
^
0_0_17102928_15102.cpp:37:19: error: 'two' was not declared in this scope
x=two.multiply(c.pow((n*n-1)/4+1));
^
0_0_17102928_15102.cpp:45:13: error: 'System' was not declared in this scope
System.out.println(sum);
^
|