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_37761015_15442.cpp:8:5: error: 'N' was not declared in this scope
 } p[N];
     ^
0_0_37761015_15442.cpp:9:20: error: 'N' was not declared in this scope
 vector<node> group[N];
                    ^
0_0_37761015_15442.cpp:18:15: error: 'N' was not declared in this scope
 int ans,cnt,v[N],n,m,mp[N][N];
               ^
0_0_37761015_15442.cpp:18:25: error: 'N' was not declared in this scope
 int ans,cnt,v[N],n,m,mp[N][N];
                         ^
0_0_37761015_15442.cpp:18:28: error: 'N' was not declared in this scope
 int ans,cnt,v[N],n,m,mp[N][N];
                            ^
0_0_37761015_15442.cpp: In function 'void dfs(int)':
0_0_37761015_15442.cpp:21:5: error: 'v' was not declared in this scope
     v[c]=1;
     ^
0_0_37761015_15442.cpp:22:5: error: 'group' was not declared in this scope
     group[cnt].push_back(p[c]);
     ^
0_0_37761015_15442.cpp:22:26: error: 'p' was not declared in this scope
     group[cnt].push_back(p[c]);
                          ^
0_0_37761015_15442.cpp:24:19: error: 'mp' was not declared in this scope
         if(!v[i]&&mp[c][i])
                   ^
0_0_37761015_15442.cpp: In function 'int main()':
0_0_37761015_15442.cpp:34:16: error: 'mp' was not declared in this scope
         memset(mp,0,sizeof(mp));
                ^
0_0_37761015_15442.cpp:38:29: error: 'p' was not declared in this scope
             scanf("%d%d%d",&p[i].c,&p[i].w,&k);
                             ^
0_0_37761015_15442.cpp:48:16: error: 'v' was not declared in this scope
         memset(v,0,sizeof(v));
                ^
0_0_37761015_15442.cpp:53:17: error: 'group' was not declared in this scope
                 group[cnt].clear();
                 ^
0_0_37761015_15442.cpp:58:13: error: 'INF' was not declared in this scope
         ans=INF;
             ^
0_0_37761015_15442.cpp:67:28: error: 'group' was not declared in this scope
             for(int j=0; j<group[i].size(); j++)
                            ^


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-09-28 17:24:16, Gzip enabled