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_22226058_23731.cpp: In function 'bool ck(int, int, int)':
0_0_22226058_23731.cpp:15:42: error: 'vis' was not declared in this scope
     if(x>=0&&x<n&&y>=0&&y<n&&z>=0&&z<n&&!vis[z][x][y]&&map[z][x][y]=='O')
                                          ^
0_0_22226058_23731.cpp: In function 'void bfs()':
0_0_22226058_23731.cpp:30:12: error: 'vis' was not declared in this scope
     memset(vis,0,sizeof vis);
            ^


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