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_39485082_2161.cpp: In function 'void dfs(ll, ll, ll)':
0_0_39485082_2161.cpp:45:13: error: 'node' was not declared in this scope
   45 |         for(node now:vec[p]){
      |             ^~~~
0_0_39485082_2161.cpp:49:9: error: expected primary-expression before 'if'
   49 |         if(l==r){
      |         ^~
0_0_39485082_2161.cpp:48:25: error: expected ')' before 'if'
   48 |         ll mid=(l+r)>>1;
      |                         ^
      |                         )
   49 |         if(l==r){
      |         ~~               
0_0_39485082_2161.cpp:45:12: note: to match this '('
   45 |         for(node now:vec[p]){
      |            ^


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-09-20 09:41:03, Gzip enabled