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_18311184_17041.cpp: In function 'bool gao(int)':
0_0_18311184_17041.cpp:46:8: error: 'i' was not declared in this scope
     FF(i, 1, n+1) FF(j, 1, n+1) if(i != j)
        ^
0_0_18311184_17041.cpp:46:17: error: 'FF' was not declared in this scope
     FF(i, 1, n+1) FF(j, 1, n+1) if(i != j)
                 ^
0_0_18311184_17041.cpp: In function 'bool solve()':
0_0_18311184_17041.cpp:62:8: error: 'i' was not declared in this scope
     FF(i, 1, m+1) if(!vis[i])
        ^
0_0_18311184_17041.cpp:62:17: error: 'FF' was not declared in this scope
     FF(i, 1, m+1) if(!vis[i])
                 ^
0_0_18311184_17041.cpp: In function 'int dfs(int, int, int, int)':
0_0_18311184_17041.cpp:70:9: error: 'i' was not declared in this scope
     REP(i, G[u].size())
         ^
0_0_18311184_17041.cpp:70:23: error: 'REP' was not declared in this scope
     REP(i, G[u].size())
                       ^
0_0_18311184_17041.cpp: In function 'void build()':
0_0_18311184_17041.cpp:79:15: error: 'CLR' was not declared in this scope
     CLR(vis, 0); CLR(dist, 0);
               ^
0_0_18311184_17041.cpp:80:9: error: 'i' was not declared in this scope
     REP(i, n+1) G[i].clear();   edges.clear();
         ^
0_0_18311184_17041.cpp:80:15: error: 'REP' was not declared in this scope
     REP(i, n+1) G[i].clear();   edges.clear();
               ^
0_0_18311184_17041.cpp:82:15: error: 'FF' was not declared in this scope
     FF(i, 1, n)
               ^
0_0_18311184_17041.cpp: In function 'int main()':
0_0_18311184_17041.cpp:111:32: error: expected ';' before ')' token
             for (int i=1;i<=n+1) for (int j=1;j<=n+1;j++)
                                ^


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-02-28 08:11:44, Gzip enabled