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_38555384_5769.cpp: In function 'void solve()':
0_0_38555384_5769.cpp:16:16: error: expected unqualified-id before '[' token
     for (auto &[n, a, b] : limits) 
                ^
0_0_38555384_5769.cpp:16:16: error: expected ';' before '[' token
0_0_38555384_5769.cpp:16:17: error: 'n' was not declared in this scope
     for (auto &[n, a, b] : limits) 
                 ^
0_0_38555384_5769.cpp:16:20: error: 'a' was not declared in this scope
     for (auto &[n, a, b] : limits) 
                    ^
0_0_38555384_5769.cpp:16:23: error: 'b' was not declared in this scope
     for (auto &[n, a, b] : limits) 
                       ^
0_0_38555384_5769.cpp: In lambda function:
0_0_38555384_5769.cpp:16:26: error: expected '{' before ':' token
     for (auto &[n, a, b] : limits) 
                          ^
0_0_38555384_5769.cpp: In function 'void solve()':
0_0_38555384_5769.cpp:16:26: error: expected ';' before ':' token
0_0_38555384_5769.cpp:16:26: error: expected primary-expression before ':' token
0_0_38555384_5769.cpp:16:26: error: expected ')' before ':' token
0_0_38555384_5769.cpp:16:26: error: expected primary-expression before ':' token
0_0_38555384_5769.cpp:30:19: error: expected unqualified-id before '[' token
         for (auto [test, x, y] : limits) {
                   ^
0_0_38555384_5769.cpp:30:19: error: expected ';' before '[' token
0_0_38555384_5769.cpp:30:20: error: 'test' was not declared in this scope
         for (auto [test, x, y] : limits) {
                    ^
0_0_38555384_5769.cpp:30:29: error: 'y' was not declared in this scope
         for (auto [test, x, y] : limits) {
                             ^
0_0_38555384_5769.cpp: In lambda function:
0_0_38555384_5769.cpp:30:32: error: expected '{' before ':' token
         for (auto [test, x, y] : limits) {
                                ^
0_0_38555384_5769.cpp: In function 'void solve()':
0_0_38555384_5769.cpp:30:32: error: could not convert '<lambda closure object>solve()::<lambda()>{x}' from 'solve()::<lambda()>' to 'bool'
0_0_38555384_5769.cpp:30:32: error: expected ';' before ':' token
0_0_38555384_5769.cpp:30:32: error: expected primary-expression before ':' token
0_0_38555384_5769.cpp:30:32: error: expected ')' before ':' token
0_0_38555384_5769.cpp:30:32: error: expected primary-expression before ':' token


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-30 16:37:40, Gzip enabled