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_38481169_28737.cpp: In function 'void solve()':
0_0_38481169_28737.cpp:79:15: error: expected unqualified-id before '[' token
         auto &[x, y] = a[i];
               ^
0_0_38481169_28737.cpp:79:15: error: expected initializer before '[' token
0_0_38481169_28737.cpp:80:21: error: 'x' was not declared in this scope
         std::cin >> x >> y;
                     ^
0_0_38481169_28737.cpp:80:26: error: 'y' was not declared in this scope
         std::cin >> x >> y;
                          ^
0_0_38481169_28737.cpp:88:14: error: expected unqualified-id before '[' token
         auto [ans1, d1] = work1(dx, dy, d);
              ^
0_0_38481169_28737.cpp:89:14: error: expected unqualified-id before '[' token
         auto [ans2, d2] = work2(dx, dy, d);
              ^
0_0_38481169_28737.cpp:91:13: error: 'ans1' was not declared in this scope
         if (ans1.size() < ans2.size()) {
             ^
0_0_38481169_28737.cpp:91:27: error: 'ans2' was not declared in this scope
         if (ans1.size() < ans2.size()) {
                           ^
0_0_38481169_28737.cpp:93:17: error: 'd1' was not declared in this scope
             d = d1;
                 ^
0_0_38481169_28737.cpp:96:17: error: 'd2' was not declared in this scope
             d = d2;
                 ^


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-26 10:27:17, Gzip enabled