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_38556377_18831.cpp:29:38: error: expected primary-expression before 'auto'
     template<class ...Args> decltype(auto) operator()(Args &&...args) { return fun_(std::ref(*this), std::forward<Args>(args)...); }
                                      ^
0_0_38556377_18831.cpp:29:38: error: expected ')' before 'auto'
0_0_38556377_18831.cpp:29:29: error: expected unqualified-id before 'decltype'
     template<class ...Args> decltype(auto) operator()(Args &&...args) { return fun_(std::ref(*this), std::forward<Args>(args)...); }
                             ^
0_0_38556377_18831.cpp:31:30: error: expected primary-expression before 'auto'
 template<class Fun> decltype(auto) y_combinator(Fun &&fun) { return y_combinator_result<std::decay_t<Fun>>(std::forward<Fun>(fun)); }
                              ^
0_0_38556377_18831.cpp:31:30: error: expected ')' before 'auto'
0_0_38556377_18831.cpp:31:21: error: expected unqualified-id before 'decltype'
 template<class Fun> decltype(auto) y_combinator(Fun &&fun) { return y_combinator_result<std::decay_t<Fun>>(std::forward<Fun>(fun)); }
                     ^
0_0_38556377_18831.cpp: In lambda function:
0_0_38556377_18831.cpp:73:20: error: expected unqualified-id before '[' token
         for (auto &[v, _]: adj[u]) {
                    ^
0_0_38556377_18831.cpp:73:20: error: expected ';' before '[' token
0_0_38556377_18831.cpp:73:21: error: 'v' was not declared in this scope
         for (auto &[v, _]: adj[u]) {
                     ^
0_0_38556377_18831.cpp:73:24: error: '_' was not declared in this scope
         for (auto &[v, _]: adj[u]) {
                        ^
0_0_38556377_18831.cpp: In lambda function:
0_0_38556377_18831.cpp:73:26: error: expected '{' before ':' token
         for (auto &[v, _]: adj[u]) {
                          ^
0_0_38556377_18831.cpp: In lambda function:
0_0_38556377_18831.cpp:73:26: error: expected ';' before ':' token
0_0_38556377_18831.cpp:73:26: error: expected primary-expression before ':' token
0_0_38556377_18831.cpp:73:26: error: expected ')' before ':' token
0_0_38556377_18831.cpp:73:26: error: expected primary-expression before ':' token
0_0_38556377_18831.cpp: In function 'void work()':
0_0_38556377_18831.cpp:79:6: error: 'y_combinator' was not declared in this scope
     })(A);
      ^


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 18:07:01, Gzip enabled