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_24007927_1961.cpp:1:1: error: 'import' does not name a type
 import java.io.BufferedInputStream; 
 ^
0_0_24007927_1961.cpp:2:1: error: 'import' does not name a type
 import java.math.BigInteger; 
 ^
0_0_24007927_1961.cpp:3:1: error: 'import' does not name a type
 import java.util.ArrayList; 
 ^
0_0_24007927_1961.cpp:4:1: error: 'import' does not name a type
 import java.util.HashMap; 
 ^
0_0_24007927_1961.cpp:5:1: error: 'import' does not name a type
 import java.util.LinkedList; 
 ^
0_0_24007927_1961.cpp:6:1: error: 'import' does not name a type
 import java.util.List; 
 ^
0_0_24007927_1961.cpp:7:1: error: 'import' does not name a type
 import java.util.Map; 
 ^
0_0_24007927_1961.cpp:8:1: error: 'import' does not name a type
 import java.util.Queue; 
 ^
0_0_24007927_1961.cpp:9:1: error: 'import' does not name a type
 import java.util.Scanner; 
 ^
0_0_24007927_1961.cpp:13:13: error: expected ':' before 'static'
     private static final int MAXP = 60; 
             ^
0_0_24007927_1961.cpp:13:20: error: 'final' does not name a type
     private static final int MAXP = 60; 
                    ^
0_0_24007927_1961.cpp:15:12: error: expected ':' before 'BigInteger'
     public BigInteger K; 
            ^
0_0_24007927_1961.cpp:15:12: error: 'BigInteger' does not name a type
0_0_24007927_1961.cpp:16:12: error: expected ':' before 'long'
     public long F; 
            ^
0_0_24007927_1961.cpp:17:12: error: expected ':' before 'int'
     public int N; 
            ^
0_0_24007927_1961.cpp:18:12: error: expected ':' before 'int'
     public int[] A; 
            ^
0_0_24007927_1961.cpp:18:15: error: expected unqualified-id before '[' token
     public int[] A; 
               ^
0_0_24007927_1961.cpp:20:12: error: expected ':' before 'Node'
     public Node() 
            ^
0_0_24007927_1961.cpp:25:1: error: expected ';' after class definition
 } 
 ^
0_0_24007927_1961.cpp: In constructor 'Node::Node()':
0_0_24007927_1961.cpp:22:9: error: 'K' was not declared in this scope
         K = BigInteger.ZERO; 
         ^
0_0_24007927_1961.cpp:22:13: error: 'BigInteger' was not declared in this scope
         K = BigInteger.ZERO; 
             ^
0_0_24007927_1961.cpp:23:9: error: 'A' was not declared in this scope
         A = new int[MAXP]; 
         ^
0_0_24007927_1961.cpp:23:21: error: 'MAXP' was not declared in this scope
         A = new int[MAXP]; 
                     ^
0_0_24007927_1961.cpp: At global scope:
0_0_24007927_1961.cpp:27:1: error: expected unqualified-id before 'public'
 public class Main
 ^


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-11-16 06:16:34, Gzip enabled