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_24045165_8803.cpp:23:36: error: 'stack' does not name a type
 int dfn[maxn],flag[maxn],low[maxn];stack<int>q;
                                    ^
0_0_24045165_8803.cpp: In function 'void tran1(int)':
0_0_24045165_8803.cpp:29:2: error: 'q' was not declared in this scope
  q.push(u);
  ^
0_0_24045165_8803.cpp:39:9: error: 'y' was not declared in this scope
  if(low[y]==dfn[y]){
         ^
0_0_24045165_8803.cpp: In function 'void work()':
0_0_24045165_8803.cpp:53:13: error: 'head' was not declared in this scope
   for(int i=head[k];i;i=a[i].next){
             ^
0_0_24045165_8803.cpp: In function 'int main()':
0_0_24045165_8803.cpp:71:15: error: 'm' was not declared in this scope
   scanf("%d",&m);
               ^
0_0_24045165_8803.cpp:75:12: error: too few arguments to function 'void init(int, int, int)'
    init(x,y);
            ^
0_0_24045165_8803.cpp:11:6: note: declared here
 void init(int x,int y,int z){
      ^
0_0_24045165_8803.cpp:76:12: error: too few arguments to function 'void init(int, int, int)'
    init(y,x);
            ^
0_0_24045165_8803.cpp:11:6: note: declared here
 void init(int x,int y,int z){
      ^
0_0_24045165_8803.cpp:86:3: error: 'dfs' was not declared in this scope
   dfs
   ^
0_0_24045165_8803.cpp:87:15: error: 'i' was not declared in this scope
   for(int i=1;i<=num;i++){
               ^


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-10-24 22:23:58, Gzip enabled