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_33744065_25160.cpp:7:17: error: 'MAXN' was not declared in this scope
 vector<int>edge[MAXN];
                 ^
0_0_33744065_25160.cpp: In function 'void init()':
0_0_33744065_25160.cpp:16:3: error: 'edge' was not declared in this scope
   edge[i].clear();
   ^
0_0_33744065_25160.cpp: In function 'void tarjan(int)':
0_0_33744065_25160.cpp:24:14: error: 'edge' was not declared in this scope
  for(int v : edge[u]) {
              ^
0_0_33744065_25160.cpp: In function 'int main()':
0_0_33744065_25160.cpp:52:4: error: 'edge' was not declared in this scope
    edge[u].push_back(v);
    ^
0_0_33744065_25160.cpp:59:16: error: 'edge' was not declared in this scope
    for(int j : edge[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-11-26 18:20:16, Gzip enabled