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_32323136_27327.cpp: In function 'void bfs()':
0_0_32323136_27327.cpp:87:98: error: expected ']' at end of input
             if (q.x > 0 && q.x <= m && q.y > 0 && q.y <= n && g[q.x][q.y] &&(!g[q1.x][q.y] || !g[q
                                                                                                  ^
0_0_32323136_27327.cpp:87:97: error: no match for 'operator[]' (operand types are 'int [510][510]' and 'node')
             if (q.x > 0 && q.x <= m && q.y > 0 && q.y <= n && g[q.x][q.y] &&(!g[q1.x][q.y] || !g[q
                                                                                                 ^
0_0_32323136_27327.cpp:87:98: error: expected ')' at end of input
             if (q.x > 0 && q.x <= m && q.y > 0 && q.y <= n && g[q.x][q.y] &&(!g[q1.x][q.y] || !g[q
                                                                                                  ^
0_0_32323136_27327.cpp:87:98: error: expected ')' at end of input
0_0_32323136_27327.cpp:87:98: error: expected statement at end of input
0_0_32323136_27327.cpp:87:98: error: expected '}' at end of input
0_0_32323136_27327.cpp:87:98: error: expected '}' at end of input
0_0_32323136_27327.cpp:87:98: error: expected '}' at end of input


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 09:13:49, Gzip enabled