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_37801186_24085.cpp:80:19: error: 'split' function uses 'auto' type specifier without trailing return type
 auto split(int pos)
                   ^
0_0_37801186_24085.cpp:80:19: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37801186_24085.cpp: In function 'auto split(int)':
0_0_37801186_24085.cpp:85:9: error: expected unqualified-id before '[' token
     auto[l, r, id]=*it;
         ^
0_0_37801186_24085.cpp:87:19: error: 'l' was not declared in this scope
     st.insert(odt(l, pos - 1, id));
                   ^
0_0_37801186_24085.cpp:87:31: error: 'id' was not declared in this scope
     st.insert(odt(l, pos - 1, id));
                               ^
0_0_37801186_24085.cpp:88:31: error: 'r' was not declared in this scope
     return st.insert(odt(pos, r, id)).first;
                               ^


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-28 22:56:29, Gzip enabled