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_38240038_7798.cpp: In function 'void doit(int, int, int)':
0_0_38240038_7798.cpp:88:8: error: expected unqualified-id before '[' token
   auto [op , val , id] = tr[u].front();
        ^
0_0_38240038_7798.cpp:90:6: error: 'op' was not declared in this scope
   if(op == 0){
      ^
0_0_38240038_7798.cpp:91:14: error: 'val' was not declared in this scope
    Tr.insert(val, id);
              ^
0_0_38240038_7798.cpp:91:19: error: 'id' was not declared in this scope
    Tr.insert(val, id);
                   ^
0_0_38240038_7798.cpp:93:8: error: 'id' was not declared in this scope
    ans[id] = max(ans[id],Tr.query(val));
        ^
0_0_38240038_7798.cpp:93:35: error: 'val' was not declared in this scope
    ans[id] = max(ans[id],Tr.query(val));
                                   ^


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-06-26 11:52:39, Gzip enabled