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_37733316_3280.cpp: In function 'std::vector<std::pair<int, int> > merge(std::vector<std::pair<int, int> >)':
0_0_37733316_3280.cpp:150:16: error: expected unqualified-id before '[' token
     for (auto& [L, R] : a) {
                ^
0_0_37733316_3280.cpp:150:16: error: expected ';' before '[' token
0_0_37733316_3280.cpp:150:17: error: 'L' was not declared in this scope
     for (auto& [L, R] : a) {
                 ^
0_0_37733316_3280.cpp:150:20: error: 'R' was not declared in this scope
     for (auto& [L, R] : a) {
                    ^
0_0_37733316_3280.cpp: In lambda function:
0_0_37733316_3280.cpp:150:23: error: expected '{' before ':' token
     for (auto& [L, R] : a) {
                       ^
0_0_37733316_3280.cpp: In function 'std::vector<std::pair<int, int> > merge(std::vector<std::pair<int, int> >)':
0_0_37733316_3280.cpp:150:23: error: expected ';' before ':' token
0_0_37733316_3280.cpp:150:23: error: expected primary-expression before ':' token
0_0_37733316_3280.cpp:150:23: error: expected ')' before ':' token
0_0_37733316_3280.cpp:150:23: error: expected primary-expression before ':' token
0_0_37733316_3280.cpp: In function 'void solve()':
0_0_37733316_3280.cpp:204:20: error: expected unqualified-id before '[' token
         for (auto& [la, ra] : va) {
                    ^
0_0_37733316_3280.cpp:204:20: error: expected ';' before '[' token
0_0_37733316_3280.cpp:204:21: error: 'la' was not declared in this scope
         for (auto& [la, ra] : va) {
                     ^
0_0_37733316_3280.cpp:204:25: error: 'ra' was not declared in this scope
         for (auto& [la, ra] : va) {
                         ^
0_0_37733316_3280.cpp: In lambda function:
0_0_37733316_3280.cpp:204:29: error: expected '{' before ':' token
         for (auto& [la, ra] : va) {
                             ^
0_0_37733316_3280.cpp: In function 'void solve()':
0_0_37733316_3280.cpp:204:29: error: expected ';' before ':' token
0_0_37733316_3280.cpp:204:29: error: expected primary-expression before ':' token
0_0_37733316_3280.cpp:204:29: error: expected ')' before ':' token
0_0_37733316_3280.cpp:204:29: error: expected primary-expression before ':' token
0_0_37733316_3280.cpp:222:20: error: expected unqualified-id before '[' token
         for (auto& [la, ra] : p) {
                    ^
0_0_37733316_3280.cpp:222:20: error: expected ';' before '[' token
0_0_37733316_3280.cpp:222:21: error: 'la' was not declared in this scope
         for (auto& [la, ra] : p) {
                     ^
0_0_37733316_3280.cpp:222:25: error: 'ra' was not declared in this scope
         for (auto& [la, ra] : p) {
                         ^
0_0_37733316_3280.cpp: In lambda function:
0_0_37733316_3280.cpp:222:29: error: expected '{' before ':' token
         for (auto& [la, ra] : p) {
                             ^
0_0_37733316_3280.cpp: In function 'void solve()':
0_0_37733316_3280.cpp:222:29: error: expected ';' before ':' token
0_0_37733316_3280.cpp:222:29: error: expected primary-expression before ':' token
0_0_37733316_3280.cpp:222:29: error: expected ')' before ':' token
0_0_37733316_3280.cpp:222:29: error: expected primary-expression before ':' token
0_0_37733316_3280.cpp:239:20: error: expected unqualified-id before '[' token
         for (auto& [l, r] : q) {
                    ^
0_0_37733316_3280.cpp:239:20: error: expected ';' before '[' token
0_0_37733316_3280.cpp:239:21: error: 'l' was not declared in this scope
         for (auto& [l, r] : q) {
                     ^
0_0_37733316_3280.cpp:239:24: error: 'r' was not declared in this scope
         for (auto& [l, r] : q) {
                        ^
0_0_37733316_3280.cpp: In lambda function:
0_0_37733316_3280.cpp:239:27: error: expected '{' before ':' token
         for (auto& [l, r] : q) {
                           ^
0_0_37733316_3280.cpp: In function 'void solve()':
0_0_37733316_3280.cpp:239:27: error: expected ';' before ':' token
0_0_37733316_3280.cpp:239:27: error: expected primary-expression before ':' token
0_0_37733316_3280.cpp:239:27: error: expected ')' before ':' token
0_0_37733316_3280.cpp:239:27: 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-23 02:51:33, Gzip enabled