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;
^
|