0_0_23549129_16522.cpp:1:1: error: 'import' does not name a type
import java.math.BigInteger;
^
0_0_23549129_16522.cpp:2:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_23549129_16522.cpp:6:9: error: expected ':' before 'static'
public static void main(String[] args) {
^
0_0_23549129_16522.cpp:6:26: error: 'String' has not been declared
public static void main(String[] args) {
^
0_0_23549129_16522.cpp:6:35: error: expected ',' or '...' before 'args'
public static void main(String[] args) {
^
0_0_23549129_16522.cpp:34:1: error: expected ';' after class definition
}
^
0_0_23549129_16522.cpp: In static member function 'static void Main::main(int*)':
0_0_23549129_16522.cpp:8:3: error: 'BigInteger' was not declared in this scope
BigInteger []b = new BigInteger[1005];
^
0_0_23549129_16522.cpp:8:15: error: expected primary-expression before ']' token
BigInteger []b = new BigInteger[1005];
^
0_0_23549129_16522.cpp:9:3: error: 'b' was not declared in this scope
b[1] = BigInteger.valueOf(1);
^
0_0_23549129_16522.cpp:14:3: error: 'Scanner' was not declared in this scope
Scanner s = new Scanner(System.in);
^
0_0_23549129_16522.cpp:15:9: error: 's' was not declared in this scope
while(s.hasNextBigInteger()){
^
0_0_23549129_16522.cpp:16:15: error: expected ';' before 'n'
BigInteger n = s.nextBigInteger();
^
0_0_23549129_16522.cpp:17:15: error: expected ';' before 'm'
BigInteger m = s.nextBigInteger();
^
0_0_23549129_16522.cpp:18:7: error: 'n' was not declared in this scope
if(n.compareTo(BigInteger.ZERO)==0&&m.compareTo(BigInteger.ZERO)==0) return;
^
0_0_23549129_16522.cpp:18:40: error: 'm' was not declared in this scope
if(n.compareTo(BigInteger.ZERO)==0&&m.compareTo(BigInteger.ZERO)==0) return;
^
0_0_23549129_16522.cpp:19:7: error: 'n' was not declared in this scope
if(n.compareTo(m)>0){
^
0_0_23549129_16522.cpp:19:19: error: 'm' was not declared in this scope
if(n.compareTo(m)>0){
^
0_0_23549129_16522.cpp:20:16: error: expected ';' before 'tt'
BigInteger tt = n;
^
0_0_23549129_16522.cpp:22:9: error: 'tt' was not declared in this scope
m = tt;
^
0_0_23549129_16522.cpp:26:23: error: 'n' was not declared in this scope
if(b[i].compareTo(n)>=0&&b[i].compareTo(m)<=0){
^
0_0_23549129_16522.cpp:26:45: error: 'm' was not declared in this scope
if(b[i].compareTo(n)>=0&&b[i].compareTo(m)<=0){
^
0_0_23549129_16522.cpp:30:4: error: 'System' was not declared in this scope
System.out.println(sum);
^
|