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_39752638_22289.cpp: In member function 'bool state::d1()':
0_0_39752638_22289.cpp:22:29: error: 'Ends' was not declared in this scope
   22 |             if (box[i].x == Ends[0].x && box[i].y == Ends[0].y) return 1;
      |                             ^~~~
0_0_39752638_22289.cpp: In member function 'bool state::d2()':
0_0_39752638_22289.cpp:29:29: error: 'Ends' was not declared in this scope
   29 |             if (box[i].x == Ends[1].x && box[i].y == Ends[1].y) return 1;
      |                             ^~~~
0_0_39752638_22289.cpp: In member function 'bool state::d3()':
0_0_39752638_22289.cpp:36:29: error: 'Ends' was not declared in this scope
   36 |             if (box[i].x == Ends[2].x && box[i].y == Ends[2].y) return 1;
      |                             ^~~~
0_0_39752638_22289.cpp: In function 'int main()':
0_0_39752638_22289.cpp:103:21: error: 'Ends' was not declared in this scope
  103 |                     Ends[cny].x = i;
      |                     ^~~~


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-12-02 16:38:11, Gzip enabled