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_20965354_13740.cpp:14:1: error: 'vector' does not name a type
 vector<int>g[N];
 ^
0_0_20965354_13740.cpp:15:1: error: 'stack' does not name a type
 stack<node>st;
 ^
0_0_20965354_13740.cpp: In function 'void init()':
0_0_20965354_13740.cpp:23:9: error: 'g' was not declared in this scope
         g[i].clear();
         ^
0_0_20965354_13740.cpp:24:12: error: 'st' was not declared in this scope
     while(!st.empty())st.pop();
            ^
0_0_20965354_13740.cpp:25:28: error: 'memset' was not declared in this scope
  memset(dfn, 0, sizeof(dfn));
                            ^
0_0_20965354_13740.cpp: In function 'void judge(int, int)':
0_0_20965354_13740.cpp:35:25: error: 'memset' was not declared in this scope
     memset(b,0,sizeof(b));
                         ^
0_0_20965354_13740.cpp:36:12: error: 'st' was not declared in this scope
     while(!st.empty())
            ^
0_0_20965354_13740.cpp: In function 'void tarjan(int, int)':
0_0_20965354_13740.cpp:53:12: error: 'g' was not declared in this scope
  int len = g[x].size();
            ^
0_0_20965354_13740.cpp:61:7: error: 'st' was not declared in this scope
       st.push(node(x,t));
       ^
0_0_20965354_13740.cpp:63:31: error: 'min' was not declared in this scope
    low[x] = min(low[x], low[t]);
                               ^
0_0_20965354_13740.cpp:73:13: error: 'st' was not declared in this scope
             st.push(node(x,t));
             ^
0_0_20965354_13740.cpp:74:31: error: 'min' was not declared in this scope
    low[x] = min(low[x], dfn[t]);
                               ^
0_0_20965354_13740.cpp: In function 'int main()':
0_0_20965354_13740.cpp:89:29: error: 'scanf' was not declared in this scope
     while(scanf("%d%d",&n,&m)!=EOF&&n)
                             ^
0_0_20965354_13740.cpp:89:32: error: 'EOF' was not declared in this scope
     while(scanf("%d%d",&n,&m)!=EOF&&n)
                                ^
0_0_20965354_13740.cpp:96:13: error: 'g' was not declared in this scope
             g[x].push_back(y);
             ^
0_0_20965354_13740.cpp:100:35: error: 'printf' was not declared in this scope
         printf("%d %d\n",ans1,ans2);
                                   ^


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-23 01:05:51, Gzip enabled