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_36348076_20344.cpp:27:48: error: 'operator()' function uses 'auto' type specifier without trailing return type
   template<class ...U> auto operator()(U &&...a) { 
                                                ^
0_0_36348076_20344.cpp:27:48: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_36348076_20344.cpp:31:32: error: 'YF' function uses 'auto' type specifier without trailing return type
 template<class F> auto YF(F &&f) { 
                                ^
0_0_36348076_20344.cpp:31:32: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_36348076_20344.cpp: In function 'auto YF(F&&)':
0_0_36348076_20344.cpp:32:22: error: 'decay_t' was not declared in this scope
   return YCombinator<decay_t<F>>(forward<F>(f)); 
                      ^
0_0_36348076_20344.cpp:32:30: error: template argument 1 is invalid
   return YCombinator<decay_t<F>>(forward<F>(f)); 
                              ^


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-22 22:36:39, Gzip enabled