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_29176744_5599.cpp:237:34: error: 'get' function uses 'auto' type specifier without trailing return type
  auto get(int b,int e,F f,G g,H h){
                                  ^
0_0_29176744_5599.cpp:237:34: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_29176744_5599.cpp: In function 'void S()':
0_0_29176744_5599.cpp:296:85: error: invalid use of 'auto'
    print(seg.get(l,r,&Node::getm,(const int&(*)(const int&,const int&))max<int>,-inf));
                                                                                     ^
0_0_29176744_5599.cpp:298:63: error: invalid use of 'auto'
    print(seg.get(l,r,&Node::gets,[&](ll x,ll y){return x+y;},0));
                                                               ^


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-29 08:24:47, Gzip enabled