QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#94058 | #5470. Hasty Santa Claus | IntoTheUnknown# | Compile Error | / | / | C++11 | 2.4kb | 2023-04-05 09:39:24 | 2023-04-05 09:39:26 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:21:9: error: ‘decltype(auto)’ type specifier only available with ‘-std=c++14’ or ‘-std=gnu++14’ 21 | decltype(auto) operator()(Args &&...args) { | ^~~~~~~~ answer.code:27:1: error: ‘decltype(auto)’ type specifier only available with ‘-std=c++14’ or ‘-std=gnu++14’ 27 | decltype(auto) y_combinator(Fun &&fun) { | ^~~~~~~~ answer.code: In function ‘int y_combinator(Fun&&)’: answer.code:28:41: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’? 28 | return y_combinator_result<std::decay_t<Fun>>(std::forward<Fun>(fun)); | ^~~~~~~ | decay answer.code:28:41: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’? 28 | return y_combinator_result<std::decay_t<Fun>>(std::forward<Fun>(fun)); | ^~~~~~~ | decay answer.code:28:49: error: template argument 1 is invalid 28 | return y_combinator_result<std::decay_t<Fun>>(std::forward<Fun>(fun)); | ^~~ answer.code: At global scope: answer.code:33:16: error: use of ‘auto’ in parameter declaration only available with ‘-std=c++14’ or ‘-std=gnu++14’ 33 | auto mul(const auto &first, const auto ...args) { | ^~~~ answer.code:33:35: error: use of ‘auto’ in parameter declaration only available with ‘-std=c++14’ or ‘-std=gnu++14’ 33 | auto mul(const auto &first, const auto ...args) { | ^~~~ answer.code:33:43: error: expansion pattern ‘const int’ contains no parameter packs 33 | auto mul(const auto &first, const auto ...args) { | ^~~~ answer.code:33:1: error: ‘mul’ function uses ‘auto’ type specifier without trailing return type 33 | auto mul(const auto &first, const auto ...args) { | ^~~~ answer.code:33:1: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’ answer.code: In function ‘auto mul(...)’: answer.code:34:31: error: ‘args’ was not declared in this scope 34 | return mul(first, mul(args...)); | ^~~~ answer.code: In function ‘void solve()’: answer.code:80:30: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 80 | auto [v, i] = que.top(); que.pop(); | ^