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_37850479_31516.cpp: In function 'void move(long long int, long long int, long long int)':
0_0_37850479_31516.cpp:123:9: error: expected unqualified-id before '[' token
    auto [a, d] = shoot(old, num);
         ^
0_0_37850479_31516.cpp:126:16: error: 'd' was not declared in this scope
    point[k] += d * 5; h[k] += a; assert(a >= 0);
                ^
0_0_37850479_31516.cpp:126:31: error: 'a' was not declared in this scope
    point[k] += d * 5; h[k] += a; assert(a >= 0);
                               ^
0_0_37850479_31516.cpp:153:9: error: expected unqualified-id before '[' token
    auto [a, d] = shoot(1, num);
         ^
0_0_37850479_31516.cpp:156:16: error: 'd' was not declared in this scope
    point[k] += d * 5; h[k] += a; assert(a >= 0);
                ^
0_0_37850479_31516.cpp:156:31: error: 'a' was not declared in this scope
    point[k] += d * 5; h[k] += a; assert(a >= 0);
                               ^
0_0_37850479_31516.cpp: In function 'void AMove()':
0_0_37850479_31516.cpp:183:10: error: expected unqualified-id before '[' token
     auto [kin, cnt] = getend(0, vv);
          ^
0_0_37850479_31516.cpp:184:9: error: 'kin' was not declared in this scope
     if (kin != 0)cnt = 0;
         ^
0_0_37850479_31516.cpp:184:18: error: 'cnt' was not declared in this scope
     if (kin != 0)cnt = 0;
                  ^
0_0_37850479_31516.cpp:186:11: error: 'cnt' was not declared in this scope
     num = cnt + 1;
           ^
0_0_37850479_31516.cpp:188:15: error: expected unqualified-id before '[' token
    for (auto& [x, y] : piece[0]) {
               ^
0_0_37850479_31516.cpp:188:15: error: expected ';' before '[' token
0_0_37850479_31516.cpp: In lambda function:
0_0_37850479_31516.cpp:188:22: error: expected '{' before ':' token
    for (auto& [x, y] : piece[0]) {
                      ^
0_0_37850479_31516.cpp: In function 'void AMove()':
0_0_37850479_31516.cpp:188:22: error: expected ';' before ':' token
0_0_37850479_31516.cpp:188:22: error: expected primary-expression before ':' token
0_0_37850479_31516.cpp:188:22: error: expected ')' before ':' token
0_0_37850479_31516.cpp:188:22: error: expected primary-expression before ':' token
0_0_37850479_31516.cpp: In function 'void BMove()':
0_0_37850479_31516.cpp:219:10: error: expected unqualified-id before '[' token
     auto [kin, cnt] = getend(1, vv);
          ^
0_0_37850479_31516.cpp:220:9: error: 'kin' was not declared in this scope
     if (kin != 1)cnt = shoot(1, cnt).second;
         ^
0_0_37850479_31516.cpp:220:18: error: 'cnt' was not declared in this scope
     if (kin != 1)cnt = shoot(1, cnt).second;
                  ^
0_0_37850479_31516.cpp:221:10: error: 'cnt' was not declared in this scope
     else cnt = 0;
          ^
0_0_37850479_31516.cpp:223:11: error: 'cnt' was not declared in this scope
     num = cnt;
           ^
0_0_37850479_31516.cpp:225:15: error: expected unqualified-id before '[' token
    for (auto& [x, y] : piece[1]) {
               ^
0_0_37850479_31516.cpp:225:15: error: expected ';' before '[' token
0_0_37850479_31516.cpp: In lambda function:
0_0_37850479_31516.cpp:225:22: error: expected '{' before ':' token
    for (auto& [x, y] : piece[1]) {
                      ^
0_0_37850479_31516.cpp: In function 'void BMove()':
0_0_37850479_31516.cpp:225:22: error: expected ';' before ':' token
0_0_37850479_31516.cpp:225:22: error: expected primary-expression before ':' token
0_0_37850479_31516.cpp:225:22: error: expected ')' before ':' token
0_0_37850479_31516.cpp:225:22: error: expected primary-expression before ':' token
0_0_37850479_31516.cpp: In function 'void CMove()':
0_0_37850479_31516.cpp:260:15: error: expected unqualified-id before '[' token
    for (auto& [x, y] : piece[2]) {
               ^
0_0_37850479_31516.cpp:260:15: error: expected ';' before '[' token
0_0_37850479_31516.cpp: In lambda function:
0_0_37850479_31516.cpp:260:22: error: expected '{' before ':' token
    for (auto& [x, y] : piece[2]) {
                      ^
0_0_37850479_31516.cpp: In function 'void CMove()':
0_0_37850479_31516.cpp:260:22: error: expected ';' before ':' token
0_0_37850479_31516.cpp:260:22: error: expected primary-expression before ':' token
0_0_37850479_31516.cpp:260:22: error: expected ')' before ':' token
0_0_37850479_31516.cpp:260:22: error: expected primary-expression before ':' token
0_0_37850479_31516.cpp: In function 'void DMove()':
0_0_37850479_31516.cpp:292:15: error: expected unqualified-id before '[' token
    for (auto& [x, y] : piece[3]) {
               ^
0_0_37850479_31516.cpp:292:15: error: expected ';' before '[' token
0_0_37850479_31516.cpp: In lambda function:
0_0_37850479_31516.cpp:292:22: error: expected '{' before ':' token
    for (auto& [x, y] : piece[3]) {
                      ^
0_0_37850479_31516.cpp: In function 'void DMove()':
0_0_37850479_31516.cpp:292:22: error: expected ';' before ':' token
0_0_37850479_31516.cpp:292:22: error: expected primary-expression before ':' token
0_0_37850479_31516.cpp:292:22: error: expected ')' before ':' token
0_0_37850479_31516.cpp:292:22: 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-10-07 02:26:14, Gzip enabled