F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_22169436_25059.cpp:1:1: error: 'import' does not name a type
 import java.util.*;
 ^
0_0_22169436_25059.cpp:2:1: error: 'import' does not name a type
 import java.lang.*;
 ^
0_0_22169436_25059.cpp:3:1: error: 'import' does not name a type
 import java.io.*;
 ^
0_0_22169436_25059.cpp:4:1: error: 'import' does not name a type
 import java.math.*;
 ^
0_0_22169436_25059.cpp:7:12: error: expected ':' before 'static'
     public static void main (String[] args){
            ^
0_0_22169436_25059.cpp:7:30: error: 'String' has not been declared
     public static void main (String[] args){
                              ^
0_0_22169436_25059.cpp:7:39: error: expected ',' or '...' before 'args'
     public static void main (String[] args){
                                       ^
0_0_22169436_25059.cpp:65:1: error: expected ';' after class definition
 }
 ^
0_0_22169436_25059.cpp: In static member function 'static void Main::main(int*)':
0_0_22169436_25059.cpp:8:9: error: 'Scanner' was not declared in this scope
         Scanner cin=new Scanner(System.in);
         ^
0_0_22169436_25059.cpp:9:17: error: 'cin' was not declared in this scope
         int ttt=cin.nextInt();
                 ^
0_0_22169436_25059.cpp:11:13: error: 'BigInteger' was not declared in this scope
             BigInteger xa,xb,xc,ya,yb,yc,x,y,dx,dy,dd,td;
             ^
0_0_22169436_25059.cpp:12:13: error: 'xa' was not declared in this scope
             xa=cin.nextBigInteger();
             ^
0_0_22169436_25059.cpp:13:13: error: 'ya' was not declared in this scope
             ya=cin.nextBigInteger();
             ^
0_0_22169436_25059.cpp:14:13: error: 'xb' was not declared in this scope
             xb=cin.nextBigInteger();
             ^
0_0_22169436_25059.cpp:15:13: error: 'yb' was not declared in this scope
             yb=cin.nextBigInteger();
             ^
0_0_22169436_25059.cpp:16:13: error: 'xc' was not declared in this scope
             xc=cin.nextBigInteger();
             ^
0_0_22169436_25059.cpp:17:13: error: 'yc' was not declared in this scope
             yc=cin.nextBigInteger();
             ^
0_0_22169436_25059.cpp:18:13: error: 'x' was not declared in this scope
             x=cin.nextBigInteger();
             ^
0_0_22169436_25059.cpp:19:13: error: 'y' was not declared in this scope
             y=cin.nextBigInteger();
             ^
0_0_22169436_25059.cpp:21:13: error: 'dd' was not declared in this scope
             dd=(xa.subtract(xb)).multiply(yc.subtract(yb));
             ^
0_0_22169436_25059.cpp:23:32: error: expected type-specifier before 'BigInteger'
             dd=dd.multiply(new BigInteger("2"));
                                ^
0_0_22169436_25059.cpp:25:13: error: 'dx' was not declared in this scope
             dx=xa.multiply(xa);
             ^
0_0_22169436_25059.cpp:30:13: error: 'td' was not declared in this scope
             td=xc.multiply(xc);
             ^
0_0_22169436_25059.cpp:37:13: error: 'dy' was not declared in this scope
             dy=xc.multiply(xc);
             ^
0_0_22169436_25059.cpp:49:24: error: expected ';' before 'xxx'
             BigInteger xxx=(x.multiply(dd)).subtract(dx);
                        ^
0_0_22169436_25059.cpp:50:13: error: 'xxx' was not declared in this scope
             xxx=xxx.multiply(xxx);
             ^
0_0_22169436_25059.cpp:51:24: error: expected ';' before 'yyy'
             BigInteger yyy=(y.multiply(dd)).subtract(dy);
                        ^
0_0_22169436_25059.cpp:52:13: error: 'yyy' was not declared in this scope
             yyy=yyy.multiply(yyy);
             ^
0_0_22169436_25059.cpp:53:24: error: expected ';' before 'xxxa'
             BigInteger xxxa=(xa.multiply(dd)).subtract(dx);
                        ^
0_0_22169436_25059.cpp:54:13: error: 'xxxa' was not declared in this scope
             xxxa=xxxa.multiply(xxxa);
             ^
0_0_22169436_25059.cpp:55:24: error: expected ';' before 'yyya'
             BigInteger yyya=(ya.multiply(dd)).subtract(dy);
                        ^
0_0_22169436_25059.cpp:56:13: error: 'yyya' was not declared in this scope
             yyya=yyya.multiply(yyya);
             ^
0_0_22169436_25059.cpp:58:17: error: 'System' was not declared in this scope
                 System.out.println("Rejected");
                 ^
0_0_22169436_25059.cpp:59:18: error: 'System' was not declared in this scope
             else System.out.println("Accepted");
                  ^
0_0_22169436_25059.cpp:61:3: error: 'System' was not declared in this scope
   System.out.println(dx.divide(dd));
   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-06-25 14:21:55, Gzip enabled