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_39752673_257.cpp: In member function 'bool state::d1()':
0_0_39752673_257.cpp:24:29: error: 'Ends' was not declared in this scope
   24 |             if (box[i].x == Ends[0].x && box[i].y == Ends[0].y) return 1;
      |                             ^~~~
0_0_39752673_257.cpp: In member function 'bool state::d2()':
0_0_39752673_257.cpp:31:29: error: 'Ends' was not declared in this scope
   31 |             if (box[i].x == Ends[1].x && box[i].y == Ends[1].y) return 1;
      |                             ^~~~
0_0_39752673_257.cpp: In member function 'bool state::d3()':
0_0_39752673_257.cpp:38:29: error: 'Ends' was not declared in this scope
   38 |             if (box[i].x == Ends[2].x && box[i].y == Ends[2].y) return 1;
      |                             ^~~~
0_0_39752673_257.cpp: In function 'int main()':
0_0_39752673_257.cpp:90:41: error: 'Ends' was not declared in this scope
   90 |                 if (Map[i][j] == '@') { Ends[cny].x = i; Ends[cny].y = j; cny++; }
      |                                         ^~~~


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:49:23, Gzip enabled