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_30231139_16840.cpp: In function 'int dfs(int)':
0_0_30231139_16840.cpp:27:6: error: 'i' was not declared in this scope
     ;i<=m;i++)
      ^
0_0_30231139_16840.cpp: In function 'int main()':
0_0_30231139_16840.cpp:18:30: error: expected primary-expression before ',' token
 #define FILL(a,b) (memset(a,b,sizeof(a)))
                              ^
0_0_30231139_16840.cpp:45:9: note: in expansion of macro 'FILL'
         FILL(g,);FILL(linker,-);
         ^
0_0_30231139_16840.cpp:18:30: error: expected primary-expression before ',' token
 #define FILL(a,b) (memset(a,b,sizeof(a)))
                              ^
0_0_30231139_16840.cpp:45:18: note: in expansion of macro 'FILL'
         FILL(g,);FILL(linker,-);
                  ^
0_0_30231139_16840.cpp:50:21: error: expected primary-expression before ';' token
             g[u][v]=;
                     ^
0_0_30231139_16840.cpp:53:10: error: 'i' was not declared in this scope
         ;i<=n;i++)
          ^
0_0_30231139_16840.cpp:58:23: error: 'ans' was not declared in this scope
         printf("%d\n",ans);
                       ^


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-12-02 20:52:34, Gzip enabled