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_38128052_24583.cpp: In function 'bool check()':
0_0_38128052_24583.cpp:24:8: error: expected unqualified-id before '[' token
   auto [x, y] = tmp[i];
        ^
0_0_38128052_24583.cpp:25:12: error: 'x' was not declared in this scope
   if (!sum[x][y])return false;
            ^
0_0_38128052_24583.cpp:25:15: error: 'y' was not declared in this scope
   if (!sum[x][y])return false;
               ^
0_0_38128052_24583.cpp: In function 'void init()':
0_0_38128052_24583.cpp:46:8: error: expected unqualified-id before '[' token
   auto [x, y] = tmp[i];
        ^
0_0_38128052_24583.cpp:47:7: error: 'x' was not declared in this scope
   sum[x][y] = 0;
       ^
0_0_38128052_24583.cpp:47:10: error: 'y' was not declared in this scope
   sum[x][y] = 0;
          ^
0_0_38128052_24583.cpp: In function 'int main()':
0_0_38128052_24583.cpp:93:11: error: expected unqualified-id before '[' token
      auto [x, y] = tmp[j];
           ^
0_0_38128052_24583.cpp:94:10: error: 'x' was not declared in this scope
      sum[x][y]++;
          ^
0_0_38128052_24583.cpp:94:13: error: 'y' was not declared in this scope
      sum[x][y]++;
             ^
0_0_38128052_24583.cpp:105:11: error: expected unqualified-id before '[' token
      auto [x, y] = tmp[i];
           ^
0_0_38128052_24583.cpp:106:10: error: 'x' was not declared in this scope
      sum[x][y]++;
          ^
0_0_38128052_24583.cpp:106:13: error: 'y' was not declared in this scope
      sum[x][y]++;
             ^


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-09-28 21:05:21, Gzip enabled