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_29470942_25456.cpp:3:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_29470942_25456.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_29470942_25456.cpp:7:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_29470942_25456.cpp: In function 'int get_line(int (*)[16], int)':
0_0_29470942_25456.cpp:9:2: error: 'nbsp' was not declared in this scope
     int sum = 0;
  ^
0_0_29470942_25456.cpp: At global scope:
0_0_29470942_25456.cpp:19:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_29470942_25456.cpp: In function 'int get_col(int (*)[16], int)':
0_0_29470942_25456.cpp:21:2: error: 'nbsp' was not declared in this scope
     int sum = 0;
  ^
0_0_29470942_25456.cpp: At global scope:
0_0_29470942_25456.cpp:31:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_29470942_25456.cpp: In function 'void build_map(int (*)[16], int)':
0_0_29470942_25456.cpp:33:2: error: 'nbsp' was not declared in this scope
     memset ( g , 0 , sizeof ( g ) );
  ^
0_0_29470942_25456.cpp:33:50: error: 'memset' was not declared in this scope
     memset ( g , 0 , sizeof ( g ) );
                                                  ^
0_0_29470942_25456.cpp: At global scope:
0_0_29470942_25456.cpp:40:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_29470942_25456.cpp: In function 'bool searchP()':
0_0_29470942_25456.cpp:45:2: error: 'nbsp' was not declared in this scope
     queue<int> q;
  ^
0_0_29470942_25456.cpp:45:20: error: 'queue' was not declared in this scope
     queue<int> q;
                    ^
0_0_29470942_25456.cpp:45:26: error: expected primary-expression before 'int'
     queue<int> q;
                          ^
0_0_29470942_25456.cpp:46:26: error: 'INF' was not declared in this scope
     dis = INF;
                          ^
0_0_29470942_25456.cpp:47:45: error: 'memset' was not declared in this scope
     memset(dx, -1, sizeof(dx));
                                             ^
0_0_29470942_25456.cpp:50:51: error: 'i' was not declared in this scope
         if (Mx[i] == -1){
                                                   ^
0_0_29470942_25456.cpp:51:68: error: 'q' was not declared in this scope
             q.push(i); dx[i] = 0;
                                                                    ^
0_0_29470942_25456.cpp:53:52: error: 'q' was not declared in this scope
         while (!q.empty()) {
                                                    ^
0_0_29470942_25456.cpp:57:101: error: 'v' was not declared in this scope
                 if (g[u][v] && dy[v] == -1) {
                                                                                                     ^
0_0_29470942_25456.cpp:60:116: error: expected '}' before 'else'
                     else{
                                                                                                                    ^
0_0_29470942_25456.cpp: At global scope:
0_0_29470942_25456.cpp:66:6: error: expected constructor, destructor, or type conversion before ';' token
         return dis != INF;
      ^
0_0_29470942_25456.cpp:66:12: error: expected constructor, destructor, or type conversion before ';' token
         return dis != INF;
            ^
0_0_29470942_25456.cpp:66:18: error: expected constructor, destructor, or type conversion before ';' token
         return dis != INF;
                  ^
0_0_29470942_25456.cpp:66:24: error: expected constructor, destructor, or type conversion before ';' token
         return dis != INF;
                        ^
0_0_29470942_25456.cpp:66:30: error: expected constructor, destructor, or type conversion before ';' token
         return dis != INF;
                              ^
0_0_29470942_25456.cpp:66:36: error: expected constructor, destructor, or type conversion before ';' token
         return dis != INF;
                                    ^
0_0_29470942_25456.cpp:66:42: error: expected constructor, destructor, or type conversion before ';' token
         return dis != INF;
                                          ^
0_0_29470942_25456.cpp:66:44: error: expected unqualified-id before 'return'
         return dis != INF;
                                            ^
0_0_29470942_25456.cpp:67:1: error: expected declaration before '}' token
 }
 ^


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.001001(s) query 1, Server time : 2025-01-10 02:52:26, Gzip enabled