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_18339625_7865.cpp: In function 'void sear(int, int)':
0_0_18339625_7865.cpp:46:35: error: 'x' was not declared in this scope
             if(f[tx][ty]!='.') mp[x][y]=-1;
                                   ^
0_0_18339625_7865.cpp:46:38: error: 'y' was not declared in this scope
             if(f[tx][ty]!='.') mp[x][y]=-1;
                                      ^
0_0_18339625_7865.cpp: In function 'void solve()':
0_0_18339625_7865.cpp:56:24: error: 'r' was not declared in this scope
         for(int i=1;i<=r;i++)   for(int j=1;j<=l;j++)  sear(i,j);
                        ^
0_0_18339625_7865.cpp:56:48: error: 'l' was not declared in this scope
         for(int i=1;i<=r;i++)   for(int j=1;j<=l;j++)  sear(i,j);
                                                ^
0_0_18339625_7865.cpp: In function 'int main()':
0_0_18339625_7865.cpp:76:27: error: 'cnt' was not declared in this scope
                     anc[++cnt]=k;
                           ^


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-04 16:55:40, Gzip enabled