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_14732773_20239.cpp:1:1: error: 'import' does not name a type
 import java.util.*;
 ^
0_0_14732773_20239.cpp:3:9: error: expected ':' before 'static'
  public static void main(String[] args) {
         ^
0_0_14732773_20239.cpp:3:26: error: 'String' has not been declared
  public static void main(String[] args) {
                          ^
0_0_14732773_20239.cpp:3:35: error: expected ',' or '...' before 'args'
  public static void main(String[] args) {
                                   ^
0_0_14732773_20239.cpp:41:1: error: expected ';' after class definition
 }
 ^
0_0_14732773_20239.cpp: In static member function 'static void Main::main(int*)':
0_0_14732773_20239.cpp:4:3: error: 'Scanner' was not declared in this scope
   Scanner in = new Scanner(System.in);
   ^
0_0_14732773_20239.cpp:5:3: error: 'PrintWriter' was not declared in this scope
   PrintWriter out = new PrintWriter(out);
   ^
0_0_14732773_20239.cpp:7:7: error: 'in' was not declared in this scope
   T = in.nextInt();
       ^
0_0_14732773_20239.cpp:10:4: error: 'BigInteger' was not declared in this scope
    BigInteger [] nums = new BigInteger[N];
    ^
0_0_14732773_20239.cpp:10:16: error: expected primary-expression before ']' token
    BigInteger [] nums = new BigInteger[N];
                ^
0_0_14732773_20239.cpp:12:5: error: 'nums' was not declared in this scope
     nums[i] = in.nextBigInteger();
     ^
0_0_14732773_20239.cpp:13:4: error: 'Boolean' was not declared in this scope
    Boolean yes = true;
    ^
0_0_14732773_20239.cpp:15:5: error: 'yes' was not declared in this scope
     yes &= nums[i].equals(nums[i-1]);
     ^
0_0_14732773_20239.cpp:15:12: error: 'nums' was not declared in this scope
     yes &= nums[i].equals(nums[i-1]);
            ^
0_0_14732773_20239.cpp:16:8: error: 'yes' was not declared in this scope
    if (yes)
        ^
0_0_14732773_20239.cpp:18:5: error: 'out' was not declared in this scope
     out.println("Yes");
     ^
0_0_14732773_20239.cpp:21:4: error: 'yes' was not declared in this scope
    yes = true;
    ^
0_0_14732773_20239.cpp:23:13: error: 'nums' was not declared in this scope
     yes &= !nums[i].equals(new BigInteger("0"));
             ^
0_0_14732773_20239.cpp:23:32: error: expected type-specifier before 'BigInteger'
     yes &= !nums[i].equals(new BigInteger("0"));
                                ^
0_0_14732773_20239.cpp:26:5: error: 'out' was not declared in this scope
     out.println("No");
     ^
0_0_14732773_20239.cpp:31:12: error: 'nums' was not declared in this scope
     yes &= nums[i-1].multiply(nums[i+1]).equals(nums[i].multiply(nums[i]));
            ^
0_0_14732773_20239.cpp:33:5: error: 'out' was not declared in this scope
     out.println("Yes");
     ^
0_0_14732773_20239.cpp:35:5: error: 'out' was not declared in this scope
     out.println("No");
     ^
0_0_14732773_20239.cpp:37:3: error: 'out' was not declared in this scope
   out.flush();
   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-28 01:57:10, Gzip enabled