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_38287885_30960.cpp: In function 'long long int check()':
0_0_38287885_30960.cpp:126:9: error: expected unqualified-id before '[' token
   auto &[x3, y3] = b[i];
         ^
0_0_38287885_30960.cpp:126:9: error: expected initializer before '[' token
0_0_38287885_30960.cpp:127:10: error: 'x3' was not declared in this scope
   if(equ(x3, x) || equ(y3, y)) ct;
          ^
0_0_38287885_30960.cpp:127:24: error: 'y3' was not declared in this scope
   if(equ(x3, x) || equ(y3, y)) ct;
                        ^
0_0_38287885_30960.cpp:128:18: error: 'x3' was not declared in this scope
   if(equ(abs(x - x3), abs(y - y3))) ct;
                  ^
0_0_38287885_30960.cpp:128:31: error: 'y3' was not declared in this scope
   if(equ(abs(x - x3), abs(y - y3))) ct;
                               ^
0_0_38287885_30960.cpp: In function 'void solve()':
0_0_38287885_30960.cpp:139:9: error: expected unqualified-id before '[' token
   auto &[x, y] = b[i];
         ^
0_0_38287885_30960.cpp:139:9: error: expected initializer before '[' token
0_0_38287885_30960.cpp:146:12: error: expected unqualified-id before '[' token
  for(auto &[x, y] : k0) {
            ^
0_0_38287885_30960.cpp:146:12: error: expected ';' before '[' token
0_0_38287885_30960.cpp: In lambda function:
0_0_38287885_30960.cpp:146:19: error: expected '{' before ':' token
  for(auto &[x, y] : k0) {
                   ^
0_0_38287885_30960.cpp: In function 'void solve()':
0_0_38287885_30960.cpp:146:19: error: expected ';' before ':' token
0_0_38287885_30960.cpp:146:19: error: expected primary-expression before ':' token
0_0_38287885_30960.cpp:146:19: error: expected ')' before ':' token
0_0_38287885_30960.cpp:146:19: error: expected primary-expression before ':' token
0_0_38287885_30960.cpp:149:12: error: expected unqualified-id before '[' token
  for(auto &[x, y] : k1) {
            ^
0_0_38287885_30960.cpp:149:12: error: expected ';' before '[' token
0_0_38287885_30960.cpp: In lambda function:
0_0_38287885_30960.cpp:149:19: error: expected '{' before ':' token
  for(auto &[x, y] : k1) {
                   ^
0_0_38287885_30960.cpp: In function 'void solve()':
0_0_38287885_30960.cpp:149:19: error: expected ';' before ':' token
0_0_38287885_30960.cpp:149:19: error: expected primary-expression before ':' token
0_0_38287885_30960.cpp:149:19: error: expected ')' before ':' token
0_0_38287885_30960.cpp:149:19: error: expected primary-expression before ':' token
0_0_38287885_30960.cpp:152:12: error: expected unqualified-id before '[' token
  for(auto &[x, y] : x0) {
            ^
0_0_38287885_30960.cpp:152:12: error: expected ';' before '[' token
0_0_38287885_30960.cpp: In lambda function:
0_0_38287885_30960.cpp:152:19: error: expected '{' before ':' token
  for(auto &[x, y] : x0) {
                   ^
0_0_38287885_30960.cpp: In function 'void solve()':
0_0_38287885_30960.cpp:152:19: error: expected ';' before ':' token
0_0_38287885_30960.cpp:152:19: error: expected primary-expression before ':' token
0_0_38287885_30960.cpp:152:19: error: expected ')' before ':' token
0_0_38287885_30960.cpp:152:19: error: expected primary-expression before ':' token
0_0_38287885_30960.cpp:155:12: error: expected unqualified-id before '[' token
  for(auto &[x, y] : y0) {
            ^
0_0_38287885_30960.cpp:155:12: error: expected ';' before '[' token
0_0_38287885_30960.cpp: In lambda function:
0_0_38287885_30960.cpp:155:19: error: expected '{' before ':' token
  for(auto &[x, y] : y0) {
                   ^
0_0_38287885_30960.cpp: In function 'void solve()':
0_0_38287885_30960.cpp:155:19: error: expected ';' before ':' token
0_0_38287885_30960.cpp:155:19: error: expected primary-expression before ':' token
0_0_38287885_30960.cpp:155:19: error: expected ')' before ':' token
0_0_38287885_30960.cpp:155:19: 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-26 18:09:23, Gzip enabled