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_17427189_15444.cpp:8:13: error: expected initializer before ']' token
 int vis[105]][105][1<<5];
             ^
0_0_17427189_15444.cpp: In function 'void bfs()':
0_0_17427189_15444.cpp:37:43: error: 'vis' was not declared in this scope
                     if((next.key>>aa)&1&&!vis[x][y][next.key])
                                           ^
0_0_17427189_15444.cpp:47:25: error: 'vis' was not declared in this scope
                     if(!vis[x][y][next.key])
                         ^
0_0_17427189_15444.cpp:53:26: error: 'vis' was not declared in this scope
                 else if(!vis[x][y][next.key])
                          ^
0_0_17427189_15444.cpp: In function 'int main()':
0_0_17427189_15444.cpp:76:20: error: 'vis' was not declared in this scope
             memset(vis,0,sizeof(vis));
                    ^


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-07-03 13:40:42, Gzip enabled