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_21695406_5767.cpp:25:1: error: expected ',' or ';' before 'int'
 int mm[105][105];
 ^
0_0_21695406_5767.cpp: In function 'void dfs1(int, int)':
0_0_21695406_5767.cpp:39:16: error: 'mm' was not declared in this scope
             if(mm[xx][yy]==1)
                ^
0_0_21695406_5767.cpp: In function 'void dfs0(int, int)':
0_0_21695406_5767.cpp:58:16: error: 'mm' was not declared in this scope
             if(mm[xx][yy]==0)
                ^
0_0_21695406_5767.cpp: In function 'void ckdfs1(int, int)':
0_0_21695406_5767.cpp:77:16: error: 'mm' was not declared in this scope
             if(mm[xx][yy]==2)
                ^
0_0_21695406_5767.cpp: In function 'int main()':
0_0_21695406_5767.cpp:110:29: error: 'mm' was not declared in this scope
                 scanf("%d",&mm[i][j]);
                             ^
0_0_21695406_5767.cpp:122:20: error: 'mm' was not declared in this scope
                 if(mm[i][j]==1)
                    ^
0_0_21695406_5767.cpp:151:20: error: 'mm' was not declared in this scope
                 if(mm[i][j]==0)
                    ^
0_0_21695406_5767.cpp:173:24: error: 'mm' was not declared in this scope
                     if(mm[i][j]==2)
                        ^
0_0_21695406_5767.cpp:201:24: error: 'mm' was not declared in this scope
                     if(mm[i][j]==2)
                        ^


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-17 05:47:04, Gzip enabled