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_28521413_14379.cpp: In function 'void add(int, int)':
0_0_28521413_14379.cpp:11:7: error: 'c' was not declared in this scope
     g[c]={head[a],b},head[a]=c++;
       ^
0_0_28521413_14379.cpp: In function 'void dfs(int)':
0_0_28521413_14379.cpp:19:21: error: 'struct sc' has no member named 'to'
         if(cnt[g[i].to])cnt[g[i].to]--;
                     ^
0_0_28521413_14379.cpp:19:34: error: 'struct sc' has no member named 'to'
         if(cnt[g[i].to])cnt[g[i].to]--;
                                  ^
0_0_28521413_14379.cpp:20:20: error: 'struct sc' has no member named 'to'
         if(!v[g[i].to]&&cnt[g[i].to==1])dfs(g[i].to);
                    ^
0_0_28521413_14379.cpp:20:34: error: 'struct sc' has no member named 'to'
         if(!v[g[i].to]&&cnt[g[i].to==1])dfs(g[i].to);
                                  ^
0_0_28521413_14379.cpp:20:50: error: 'struct sc' has no member named 'to'
         if(!v[g[i].to]&&cnt[g[i].to==1])dfs(g[i].to);
                                                  ^
0_0_28521413_14379.cpp: In function 'int main()':
0_0_28521413_14379.cpp:38:9: error: 'c' was not declared in this scope
         c=0;
         ^


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-29 12:46:12, Gzip enabled