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_18713343_9760.cpp:15:1: error: 'vector' does not name a type
 vector<int>g[N];
 ^
0_0_18713343_9760.cpp:16:1: error: 'stack' does not name a type
 stack<node>st;
 ^
0_0_18713343_9760.cpp: In function 'void init()':
0_0_18713343_9760.cpp:24:9: error: 'g' was not declared in this scope
         g[i].clear();
         ^
0_0_18713343_9760.cpp:25:12: error: 'st' was not declared in this scope
     while(!st.empty())st.pop();
            ^
0_0_18713343_9760.cpp: In function 'void judge(int, int)':
0_0_18713343_9760.cpp:37:12: error: 'st' was not declared in this scope
     while(!st.empty())
            ^
0_0_18713343_9760.cpp: In function 'void tarjan(int, int)':
0_0_18713343_9760.cpp:54:12: error: 'g' was not declared in this scope
  int len = g[x].size();
            ^
0_0_18713343_9760.cpp:62:7: error: 'st' was not declared in this scope
       st.push(node(x,t));
       ^
0_0_18713343_9760.cpp:64:31: error: 'min' was not declared in this scope
    low[x] = min(low[x], low[t]);
                               ^
0_0_18713343_9760.cpp:64:31: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
                 from 0_0_18713343_9760.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3444:5: note:   'std::min'
     min(initializer_list<_Tp> __l, _Compare __comp)
     ^
0_0_18713343_9760.cpp:74:13: error: 'st' was not declared in this scope
             st.push(node(x,t));
             ^
0_0_18713343_9760.cpp:75:31: error: 'min' was not declared in this scope
    low[x] = min(low[x], dfn[t]);
                               ^
0_0_18713343_9760.cpp:75:31: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
                 from 0_0_18713343_9760.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3444:5: note:   'std::min'
     min(initializer_list<_Tp> __l, _Compare __comp)
     ^
0_0_18713343_9760.cpp: In function 'int main()':
0_0_18713343_9760.cpp:97:13: error: 'g' was not declared in this scope
             g[x].push_back(y);
             ^


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-23 19:24:19, Gzip enabled