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_29201439_29343.cpp:1:1: error: 'import' does not name a type
 import java.io.BufferedInputStream;
 ^
0_0_29201439_29343.cpp:2:1: error: 'import' does not name a type
 import java.io.BufferedReader;
 ^
0_0_29201439_29343.cpp:3:1: error: 'import' does not name a type
 import java.io.IOException;
 ^
0_0_29201439_29343.cpp:4:1: error: 'import' does not name a type
 import java.io.InputStream;
 ^
0_0_29201439_29343.cpp:5:1: error: 'import' does not name a type
 import java.io.InputStreamReader;
 ^
0_0_29201439_29343.cpp:6:1: error: 'import' does not name a type
 import java.io.OutputStreamWriter;
 ^
0_0_29201439_29343.cpp:7:1: error: 'import' does not name a type
 import java.io.PrintWriter;
 ^
0_0_29201439_29343.cpp:8:1: error: 'import' does not name a type
 import java.io.StreamTokenizer;
 ^
0_0_29201439_29343.cpp:9:1: error: 'import' does not name a type
 import java.math.BigInteger;
 ^
0_0_29201439_29343.cpp:10:1: error: 'import' does not name a type
 import java.text.DecimalFormat;
 ^
0_0_29201439_29343.cpp:11:1: error: 'import' does not name a type
 import java.util.ArrayList;
 ^
0_0_29201439_29343.cpp:12:1: error: 'import' does not name a type
 import java.util.Arrays;
 ^
0_0_29201439_29343.cpp:13:1: error: 'import' does not name a type
 import java.util.Collection;
 ^
0_0_29201439_29343.cpp:14:1: error: 'import' does not name a type
 import java.util.Collections;
 ^
0_0_29201439_29343.cpp:15:1: error: 'import' does not name a type
 import java.util.Comparator;
 ^
0_0_29201439_29343.cpp:16:1: error: 'import' does not name a type
 import java.util.HashMap;
 ^
0_0_29201439_29343.cpp:17:1: error: 'import' does not name a type
 import java.util.HashSet;
 ^
0_0_29201439_29343.cpp:18:1: error: 'import' does not name a type
 import java.util.Iterator;
 ^
0_0_29201439_29343.cpp:19:1: error: 'import' does not name a type
 import java.util.LinkedList;
 ^
0_0_29201439_29343.cpp:20:1: error: 'import' does not name a type
 import java.util.List;
 ^
0_0_29201439_29343.cpp:21:1: error: 'import' does not name a type
 import java.util.NavigableSet;
 ^
0_0_29201439_29343.cpp:22:1: error: 'import' does not name a type
 import java.util.PriorityQueue;
 ^
0_0_29201439_29343.cpp:23:1: error: 'import' does not name a type
 import java.util.Queue;
 ^
0_0_29201439_29343.cpp:24:1: error: 'import' does not name a type
 import java.util.Scanner;
 ^
0_0_29201439_29343.cpp:25:1: error: 'import' does not name a type
 import java.util.Set;
 ^
0_0_29201439_29343.cpp:26:1: error: 'import' does not name a type
 import java.util.SortedSet;
 ^
0_0_29201439_29343.cpp:27:1: error: 'import' does not name a type
 import java.util.Stack;
 ^
0_0_29201439_29343.cpp:28:1: error: 'import' does not name a type
 import java.util.StringTokenizer;
 ^
0_0_29201439_29343.cpp:29:1: error: 'import' does not name a type
 import java.util.TreeSet;
 ^
0_0_29201439_29343.cpp:33:16: error: expected ':' before 'BufferedReader'
         public BufferedReader  reader;
                ^
0_0_29201439_29343.cpp:33:16: error: 'BufferedReader' does not name a type
0_0_29201439_29343.cpp:34:16: error: expected ':' before 'StringTokenizer'
         public StringTokenizer  tokenizer;
                ^
0_0_29201439_29343.cpp:34:16: error: 'StringTokenizer' does not name a type
0_0_29201439_29343.cpp:36:16: error: expected ':' before 'InputReader'
         public InputReader(InputStream stream){
                ^
0_0_29201439_29343.cpp:36:40: error: expected ')' before 'stream'
         public InputReader(InputStream stream){
                                        ^
0_0_29201439_29343.cpp:41:16: error: expected ':' before 'String'
         public String next(){
                ^
0_0_29201439_29343.cpp:41:16: error: 'String' does not name a type
0_0_29201439_29343.cpp:52:16: error: expected ':' before 'int'
         public int  nextInt(){
                ^
0_0_29201439_29343.cpp:56:16: error: expected ':' before 'long'
         public long nextLong(){
                ^
0_0_29201439_29343.cpp:60:16: error: expected ':' before 'double'
         public double nextDouble(){
                ^
0_0_29201439_29343.cpp:64:1: error: expected ';' after class definition
 }
 ^
0_0_29201439_29343.cpp: In member function 'int InputReader::nextInt()':
0_0_29201439_29343.cpp:53:28: error: 'Integer' was not declared in this scope
                     return Integer.parseInt(next());
                            ^
0_0_29201439_29343.cpp:53:50: error: 'next' was not declared in this scope
                     return Integer.parseInt(next());
                                                  ^
0_0_29201439_29343.cpp: In member function 'long int InputReader::nextLong()':
0_0_29201439_29343.cpp:57:28: error: 'Long' was not declared in this scope
                     return Long.parseLong(next());
                            ^
0_0_29201439_29343.cpp:57:48: error: 'next' was not declared in this scope
                     return Long.parseLong(next());
                                                ^
0_0_29201439_29343.cpp: In member function 'double InputReader::nextDouble()':
0_0_29201439_29343.cpp:61:29: error: 'Double' was not declared in this scope
                     return  Double.parseDouble(next());
                             ^
0_0_29201439_29343.cpp:61:53: error: 'next' was not declared in this scope
                     return  Double.parseDouble(next());
                                                     ^
0_0_29201439_29343.cpp: At global scope:
0_0_29201439_29343.cpp:66: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-23 01:02:06, Gzip enabled