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_37565732_22807.cpp:1:1: error: 'import' does not name a type
 import java.io.BufferedOutputStream;
 ^
0_0_37565732_22807.cpp:2:1: error: 'import' does not name a type
 import java.io.FileNotFoundException;
 ^
0_0_37565732_22807.cpp:3:1: error: 'import' does not name a type
 import java.io.FileOutputStream;
 ^
0_0_37565732_22807.cpp:4:1: error: 'import' does not name a type
 import java.io.IOException;
 ^
0_0_37565732_22807.cpp:7:12: error: expected ':' before 'static'
     public static void main(String[] args) {
            ^
0_0_37565732_22807.cpp:7:29: error: 'String' has not been declared
     public static void main(String[] args) {
                             ^
0_0_37565732_22807.cpp:7:38: error: expected ',' or '...' before 'args'
     public static void main(String[] args) {
                                      ^
0_0_37565732_22807.cpp:48:1: error: expected ';' after class definition
 }
 ^
0_0_37565732_22807.cpp: In static member function 'static void Main::main(int*)':
0_0_37565732_22807.cpp:8:9: error: 'byte' was not declared in this scope
         byte[][] ip = new byte[1000000][4];
         ^
0_0_37565732_22807.cpp:8:14: error: expected primary-expression before ']' token
         byte[][] ip = new byte[1000000][4];
              ^
0_0_37565732_22807.cpp:8:16: error: expected primary-expression before ']' token
         byte[][] ip = new byte[1000000][4];
                ^
0_0_37565732_22807.cpp:9:22: error: 'System' was not declared in this scope
         long start = System.currentTimeMillis();
                      ^
0_0_37565732_22807.cpp:10:9: error: 'BufferedOutputStream' was not declared in this scope
         BufferedOutputStream bufferedOutputStream = null;
         ^
0_0_37565732_22807.cpp:12:13: error: 'bufferedOutputStream' was not declared in this scope
             bufferedOutputStream = new BufferedOutputStream(new FileOutputStream("ip.bin"));
             ^
0_0_37565732_22807.cpp:12:40: error: expected type-specifier before 'BufferedOutputStream'
             bufferedOutputStream = new BufferedOutputStream(new FileOutputStream("ip.bin"));
                                        ^
0_0_37565732_22807.cpp:13:18: error: 'FileNotFoundException' does not name a type
         } catch (FileNotFoundException e) {
                  ^
0_0_37565732_22807.cpp:14:13: error: 'e' was not declared in this scope
             e.printStackTrace();
             ^
0_0_37565732_22807.cpp:21:25: error: 'ip' was not declared in this scope
                         ip[count][0] = (byte) i;
                         ^
0_0_37565732_22807.cpp:29:37: error: 'bufferedOutputStream' was not declared in this scope
                                     bufferedOutputStream.write(ip[m]);
                                     ^
0_0_37565732_22807.cpp:30:42: error: 'IOException' does not name a type
                                 } catch (IOException e) {
                                          ^
0_0_37565732_22807.cpp:31:37: error: 'e' was not declared in this scope
                                     e.printStackTrace();
                                     ^
0_0_37565732_22807.cpp:41:13: error: 'bufferedOutputStream' was not declared in this scope
             bufferedOutputStream.close();
             ^
0_0_37565732_22807.cpp:42:18: error: 'IOException' does not name a type
         } catch (IOException e) {
                  ^
0_0_37565732_22807.cpp:43:13: error: 'e' was not declared in this scope
             e.printStackTrace();
             ^


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-12-04 20:47:17, Gzip enabled