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_27768499_12063.cpp:12:27: error: size of array 'kk' is too large
 int n,m,sx,sy,knum,kk[N][N];
                           ^
0_0_27768499_12063.cpp:14:23: error: size of array 'vis' is too large
 bool vis[N][N][4][1<<7];
                       ^
0_0_27768499_12063.cpp:15:21: error: size of array 'used' is too large
 bool used[N][N][1<<7];
                     ^
0_0_27768499_12063.cpp: In function 'int bfs()':
0_0_27768499_12063.cpp:28:12: error: 'vis' was not declared in this scope
     memset(vis,0,sizeof(vis));
            ^
0_0_27768499_12063.cpp:29:12: error: 'used' was not declared in this scope
     memset(used,0,sizeof(used));
            ^
0_0_27768499_12063.cpp:78:24: error: 'kk' was not declared in this scope
                     k|=kk[x][y];
                        ^
0_0_27768499_12063.cpp: In function 'int main()':
0_0_27768499_12063.cpp:117:21: error: 'kk' was not declared in this scope
                     kk[i][j]=1<<knum;
                     ^


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.000000(s) query 1, Server time : 2025-02-17 05:23:00, Gzip enabled