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_37803994_15603.cpp:63:18: error: 'split' function uses 'auto' type specifier without trailing return type
  auto split(T pos) {
                  ^
0_0_37803994_15603.cpp:63:18: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_37803994_15603.cpp: In instantiation of 'void ODT<T>::assign(T, T, T) [with T = long long int]':
0_0_37803994_15603.cpp:105:24:   required from here
0_0_37803994_15603.cpp:79:25: error: invalid use of 'auto'
   auto itr = split(r + 1), itl = split(l);
                         ^
0_0_37803994_15603.cpp:79:41: error: invalid use of 'auto'
   auto itr = split(r + 1), itl = split(l);
                                         ^
0_0_37803994_15603.cpp:80:18: error: unable to deduce 'auto' from 'itl'
   for (auto it = itl; it != itr; ++it)
                  ^


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-17 09:36:58, Gzip enabled