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_38021281_8169.cpp: In function 'void show(int)':
0_0_38021281_8169.cpp:78:18: error: expected unqualified-id before '[' token
             auto [node,left,right] = que[i];
                  ^
0_0_38021281_8169.cpp:79:56: error: 'node' was not declared in this scope
             printf("%4d%4d%4d%4d%4d -",left,right,tree[node].pref,tree[node].maxlen,tree[node].suff);
                                                        ^
0_0_38021281_8169.cpp:81:35: error: invalid operands of types 'std::ios_base&(std::ios_base&)' and 'std::ios_base&(std::ios_base&)' to binary 'operator+'
                 int mid = (left + right) / 2;
                                   ^


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.000000(s) query 1, Server time : 2025-02-17 09:11:38, Gzip enabled