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_13818155_13425.cpp:11:8: error: redeclaration of 'int& node::nbsp'
     char x[5], y[5];
        ^
0_0_13818155_13425.cpp:11:2: note: previous declaration 'int& node::nbsp'
     char x[5], y[5];
  ^
0_0_13818155_13425.cpp:11:14: error: redeclaration of 'int& node::nbsp'
     char x[5], y[5];
              ^
0_0_13818155_13425.cpp:11:2: note: previous declaration 'int& node::nbsp'
     char x[5], y[5];
  ^
0_0_13818155_13425.cpp:11:20: error: redeclaration of 'int& node::nbsp'
     char x[5], y[5];
                    ^
0_0_13818155_13425.cpp:11:2: note: previous declaration 'int& node::nbsp'
     char x[5], y[5];
  ^
0_0_13818155_13425.cpp:12:7: error: use of deleted function 'node::node()'
 }a[505];
       ^
0_0_13818155_13425.cpp:9:8: note: 'node::node()' is implicitly deleted because the default definition would be ill-formed:
 struct node
        ^
0_0_13818155_13425.cpp:9:8: error: uninitialized reference member in 'struct node'
0_0_13818155_13425.cpp:11:2: note: 'int& node::nbsp' should be initialized
     char x[5], y[5];
  ^
0_0_13818155_13425.cpp: In function 'void init()':
0_0_13818155_13425.cpp:15:2: error: 'nbsp' was not declared in this scope
     memset(link, -1, sizeof(link));
  ^
0_0_13818155_13425.cpp:19:53: error: 'i' was not declared in this scope
         map[i].clear();
                                                     ^
0_0_13818155_13425.cpp: In function 'int findpath(int)':
0_0_13818155_13425.cpp:24:2: error: 'nbsp' was not declared in this scope
     for (int v = 0; v < map[u].size(); v++)
  ^
0_0_13818155_13425.cpp:26:65: error: 'v' was not declared in this scope
         if (!vis[map[u][v]])
                                                                 ^
0_0_13818155_13425.cpp:28:84: error: 'v' was not declared in this scope
             vis[map[u][v]] = 1;
                                                                                    ^
0_0_13818155_13425.cpp: In function 'int main()':
0_0_13818155_13425.cpp:40:2: error: 'nbsp' was not declared in this scope
     int t, i, j;
  ^


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 09:34:55, Gzip enabled