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_36093170_13742.cpp:25:1: error: 'stack' does not name a type
 stack <Edge> palm;
 ^
0_0_36093170_13742.cpp:26:1: error: 'vector' does not name a type
 vector <Edge> block[N];
 ^
0_0_36093170_13742.cpp: In function 'void init()':
0_0_36093170_13742.cpp:40:9: error: 'block' was not declared in this scope
         block[i].clear();
         ^
0_0_36093170_13742.cpp:47:12: error: 'palm' was not declared in this scope
     while(!palm.empty()) palm.pop();
            ^
0_0_36093170_13742.cpp: In function 'void tarjan(int, int)':
0_0_36093170_13742.cpp:57:13: error: 'palm' was not declared in this scope
             palm.push(Edge(u, v));
             ^
0_0_36093170_13742.cpp:60:40: error: 'min' was not declared in this scope
             low[u] = min(low[u], low[v]);
                                        ^
0_0_36093170_13742.cpp:60:40: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_36093170_13742.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:240:5: note:   'std::min'
     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
0_0_36093170_13742.cpp:66:21: error: 'block' was not declared in this scope
                     block[ind].push_back(temp);
                     ^
0_0_36093170_13742.cpp:66:27: error: 'ind' was not declared in this scope
                     block[ind].push_back(temp);
                           ^
0_0_36093170_13742.cpp:69:17: error: 'block' was not declared in this scope
                 block[ind++].push_back(Edge(u, v));
                 ^
0_0_36093170_13742.cpp:69:23: error: 'ind' was not declared in this scope
                 block[ind++].push_back(Edge(u, v));
                       ^
0_0_36093170_13742.cpp:77:13: error: 'palm' was not declared in this scope
             palm.push(Edge(u, v));
             ^
0_0_36093170_13742.cpp:78:40: error: 'min' was not declared in this scope
             low[u] = min(low[u], dfn[v]);
                                        ^
0_0_36093170_13742.cpp:78:40: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_36093170_13742.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:240:5: note:   'std::min'
     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
0_0_36093170_13742.cpp: In function 'int main()':
0_0_36093170_13742.cpp:99:28: error: 'ind' was not declared in this scope
         for(int i = 0; i < ind; i++){
                            ^
0_0_36093170_13742.cpp:101:23: error: 'block' was not declared in this scope
             int len = block[i].size();
                       ^


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-25 03:42:51, Gzip enabled