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_37956743_20817.cpp: In function 'int main()':
0_0_37956743_20817.cpp:85:19: error: expected unqualified-id before '[' token
             auto &[x,y,z] = a[i];
                   ^
0_0_37956743_20817.cpp:85:19: error: expected initializer before '[' token
0_0_37956743_20817.cpp:86:20: error: 'x' was not declared in this scope
             cin >> x >> y >> z;
                    ^
0_0_37956743_20817.cpp:86:25: error: 'y' was not declared in this scope
             cin >> x >> y >> z;
                         ^
0_0_37956743_20817.cpp:86:30: error: 'z' was not declared in this scope
             cin >> x >> y >> z;
                              ^
0_0_37956743_20817.cpp:93:19: error: expected unqualified-id before '[' token
             auto &[x,y] = b[i];
                   ^
0_0_37956743_20817.cpp:93:19: error: expected initializer before '[' token
0_0_37956743_20817.cpp:94:20: error: 'x' was not declared in this scope
             cin >> x >> y;
                    ^
0_0_37956743_20817.cpp:94:25: error: 'y' was not declared in this scope
             cin >> x >> y;
                         ^
0_0_37956743_20817.cpp:107:23: error: expected unqualified-id before '[' token
                 auto &[x0,y0,s] = a[i];
                       ^
0_0_37956743_20817.cpp:107:23: error: expected initializer before '[' token
0_0_37956743_20817.cpp:108:23: error: expected unqualified-id before '[' token
                 auto &[x1,y1] = b[j];
                       ^
0_0_37956743_20817.cpp:108:23: error: expected initializer before '[' token
0_0_37956743_20817.cpp:109:28: error: 's' was not declared in this scope
                 if((double)s*t>=dist(x0,x1,y0,y1)) add(i+1,j+m+1,1);
                            ^
0_0_37956743_20817.cpp:109:38: error: 'x0' was not declared in this scope
                 if((double)s*t>=dist(x0,x1,y0,y1)) add(i+1,j+m+1,1);
                                      ^
0_0_37956743_20817.cpp:109:41: error: 'x1' was not declared in this scope
                 if((double)s*t>=dist(x0,x1,y0,y1)) add(i+1,j+m+1,1);
                                         ^
0_0_37956743_20817.cpp:109:44: error: 'y0' was not declared in this scope
                 if((double)s*t>=dist(x0,x1,y0,y1)) add(i+1,j+m+1,1);
                                            ^
0_0_37956743_20817.cpp:109:47: error: 'y1' was not declared in this scope
                 if((double)s*t>=dist(x0,x1,y0,y1)) add(i+1,j+m+1,1);
                                               ^


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 06:41:21, Gzip enabled