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_36461057_12504.cpp: In function 'void solve(int, int, std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&)':
0_0_36461057_12504.cpp:23:16: error: expected unqualified-id before '[' token
     for (auto &[i, j]: Z) {
                ^
0_0_36461057_12504.cpp:23:16: error: expected ';' before '[' token
0_0_36461057_12504.cpp: In lambda function:
0_0_36461057_12504.cpp:23:22: error: expected '{' before ':' token
     for (auto &[i, j]: Z) {
                      ^
0_0_36461057_12504.cpp: In function 'void solve(int, int, std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&)':
0_0_36461057_12504.cpp:23:22: error: could not convert '<lambda closure object>solve(int, int, std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&)::<lambda()>{i, j}' from 'solve(int, int, std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&)::<lambda()>' to 'bool'
0_0_36461057_12504.cpp:23:22: error: expected ';' before ':' token
0_0_36461057_12504.cpp:23:22: error: expected primary-expression before ':' token
0_0_36461057_12504.cpp:23:22: error: expected ')' before ':' token
0_0_36461057_12504.cpp:23:22: error: expected primary-expression before ':' token
0_0_36461057_12504.cpp: In function 'int main(int, char**)':
0_0_36461057_12504.cpp:61:19: error: expected unqualified-id before '[' token
         for (auto [x, y]: dp[n][n]) {
                   ^
0_0_36461057_12504.cpp:61:19: error: expected ';' before '[' token
0_0_36461057_12504.cpp:61:20: error: 'x' was not declared in this scope
         for (auto [x, y]: dp[n][n]) {
                    ^
0_0_36461057_12504.cpp:61:23: error: 'y' was not declared in this scope
         for (auto [x, y]: dp[n][n]) {
                       ^
0_0_36461057_12504.cpp: In lambda function:
0_0_36461057_12504.cpp:61:25: error: expected '{' before ':' token
         for (auto [x, y]: dp[n][n]) {
                         ^
0_0_36461057_12504.cpp: In function 'int main(int, char**)':
0_0_36461057_12504.cpp:61:25: error: expected ';' before ':' token
0_0_36461057_12504.cpp:61:25: error: expected primary-expression before ':' token
0_0_36461057_12504.cpp:61:25: error: expected ')' before ':' token
0_0_36461057_12504.cpp:61:25: 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-11-29 00:50:45, Gzip enabled