0_0_22183758_27232.cpp:1:1: error: 'import' does not name a type
import java.math.*;
^
0_0_22183758_27232.cpp:2:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_22183758_27232.cpp:6:9: error: expected ':' before 'static'
public static void main(String[] args)
^
0_0_22183758_27232.cpp:6:26: error: 'String' has not been declared
public static void main(String[] args)
^
0_0_22183758_27232.cpp:6:35: error: expected ',' or '...' before 'args'
public static void main(String[] args)
^
0_0_22183758_27232.cpp:94:1: error: expected ';' after class definition
}
^
0_0_22183758_27232.cpp: In static member function 'static void Zhu::main(int*)':
0_0_22183758_27232.cpp:10:3: error: 'Scanner' was not declared in this scope
Scanner in=new Scanner(System.in);
^
0_0_22183758_27232.cpp:11:5: error: 'in' was not declared in this scope
T=in.nextInt();
^
0_0_22183758_27232.cpp:13:3: error: 'BigDecimal' was not declared in this scope
BigDecimal a=new BigDecimal("0");
^
0_0_22183758_27232.cpp:14:14: error: expected ';' before 'b'
BigDecimal b=new BigDecimal("0");
^
0_0_22183758_27232.cpp:15:14: error: expected ';' before 'c'
BigDecimal c=new BigDecimal("0");
^
0_0_22183758_27232.cpp:16:14: error: expected ';' before 'd'
BigDecimal d=new BigDecimal("0");
^
0_0_22183758_27232.cpp:18:14: error: expected ';' before 'e'
BigDecimal e=new BigDecimal("0");
^
0_0_22183758_27232.cpp:19:14: error: expected ';' before 'f'
BigDecimal f=new BigDecimal("0");
^
0_0_22183758_27232.cpp:20:14: error: expected ';' before 'two'
BigDecimal two=new BigDecimal("2.0");
^
0_0_22183758_27232.cpp:24:14: error: expected ';' before 'g'
BigDecimal g=new BigDecimal("0");
^
0_0_22183758_27232.cpp:26:14: error: expected ';' before 'D0'
BigDecimal D0=new BigDecimal("0");
^
0_0_22183758_27232.cpp:27:14: error: expected ';' before 'D1'
BigDecimal D1=new BigDecimal("0");
^
0_0_22183758_27232.cpp:28:14: error: expected ';' before 'D2'
BigDecimal D2=new BigDecimal("0");
^
0_0_22183758_27232.cpp:29:14: error: expected ';' before 'D3'
BigDecimal D3=new BigDecimal("0");
^
0_0_22183758_27232.cpp:30:14: error: expected ';' before 'D4'
BigDecimal D4=new BigDecimal("0");
^
0_0_22183758_27232.cpp:31:14: error: expected ';' before 'D5'
BigDecimal D5=new BigDecimal("0");
^
0_0_22183758_27232.cpp:32:14: error: expected ';' before 'D6'
BigDecimal D6=new BigDecimal("0");
^
0_0_22183758_27232.cpp:33:14: error: expected ';' before 'D7'
BigDecimal D7=new BigDecimal("0");
^
0_0_22183758_27232.cpp:37:4: error: 'D0' was not declared in this scope
D0=in.nextBigDecimal();
^
0_0_22183758_27232.cpp:38:4: error: 'D1' was not declared in this scope
D1=in.nextBigDecimal();
^
0_0_22183758_27232.cpp:39:4: error: 'D2' was not declared in this scope
D2=in.nextBigDecimal();
^
0_0_22183758_27232.cpp:40:4: error: 'D3' was not declared in this scope
D3=in.nextBigDecimal();
^
0_0_22183758_27232.cpp:41:4: error: 'D4' was not declared in this scope
D4=in.nextBigDecimal();
^
0_0_22183758_27232.cpp:42:4: error: 'D5' was not declared in this scope
D5=in.nextBigDecimal();
^
0_0_22183758_27232.cpp:43:4: error: 'D6' was not declared in this scope
D6=in.nextBigDecimal();
^
0_0_22183758_27232.cpp:44:4: error: 'D7' was not declared in this scope
D7=in.nextBigDecimal();
^
0_0_22183758_27232.cpp:49:4: error: 'a' was not declared in this scope
a=D0.subtract(D2);
^
0_0_22183758_27232.cpp:50:4: error: 'b' was not declared in this scope
b=D1.subtract(D3);
^
0_0_22183758_27232.cpp:54:4: error: 'c' was not declared in this scope
c=D0.subtract(D4);
^
0_0_22183758_27232.cpp:55:4: error: 'd' was not declared in this scope
d=D1.subtract(D5);
^
0_0_22183758_27232.cpp:58:10: error: 'e' was not declared in this scope
e=D0.multiply(D0).subtract(D2.multiply(D2)).subtract(D3.multiply(D3).subtract(D1.multiply(D1)));
^
0_0_22183758_27232.cpp:59:21: error: 'two' was not declared in this scope
e=e.divide(two);
^
0_0_22183758_27232.cpp:62:10: error: 'f' was not declared in this scope
f=D0.multiply(D0).subtract(D4.multiply(D4)).subtract(D5.multiply(D5).subtract(D1.multiply(D1))).divide(two);
^
0_0_22183758_27232.cpp:65:21: error: expected ';' before 'xx'
BigDecimal xx=b.multiply(c).subtract(a.multiply(d));
^
0_0_22183758_27232.cpp:69:21: error: expected ';' before 'x0'
BigDecimal x0=b.multiply(f).subtract(d.multiply(e)).divide(xx);
^
0_0_22183758_27232.cpp:70:21: error: expected ';' before 'y0'
BigDecimal y0=a.multiply(f).subtract(c.multiply(e)).divide(xx);
^
0_0_22183758_27232.cpp:73:21: error: expected ';' before 'temp1'
BigDecimal temp1=D1.subtract(y0).multiply(D1.subtract(y0));
^
0_0_22183758_27232.cpp:74:21: error: expected ';' before 'R'
BigDecimal R=D0.subtract(x0).multiply(D0.subtract(x0)).add(temp1);
^
0_0_22183758_27232.cpp:77:21: error: expected ';' before 'temp2'
BigDecimal temp2=D7.subtract(y0).multiply(D7.subtract(y0));
^
0_0_22183758_27232.cpp:78:21: error: expected ';' before 'RR'
BigDecimal RR=D6.subtract(x0).multiply(D6.subtract(x0)).add(temp2);
^
0_0_22183758_27232.cpp:79:13: error: 'RR' was not declared in this scope
if(RR.compareTo(R)==1)
^
0_0_22183758_27232.cpp:79:26: error: 'R' was not declared in this scope
if(RR.compareTo(R)==1)
^
0_0_22183758_27232.cpp:82:11: error: 'System' was not declared in this scope
System.out.println("Accepted");
^
0_0_22183758_27232.cpp:86:11: error: 'System' was not declared in this scope
System.out.println("Rejected");
^
|