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_36461600_29608.cpp: In function 'void forward_work()':
0_0_36461600_29608.cpp:198:34: error: 'v' was not declared in this scope
   for (int i = 1; i <= n; insert(v);
                                  ^
0_0_36461600_29608.cpp:198:36: error: expected ')' before ';' token
   for (int i = 1; i <= n; insert(v);
                                    ^
0_0_36461600_29608.cpp:200:35: error: 'i' was not declared in this scope
     if (sz[root] > 2) update(a[rn[i]]);
                                   ^
0_0_36461600_29608.cpp:203:22: error: 'i' was not declared in this scope
     for (int &v : fe[i]) remove(v);
                      ^
0_0_36461600_29608.cpp: At global scope:
0_0_36461600_29608.cpp:205:1: error: expected declaration before '}' token
 }
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 16:57:00, Gzip enabled