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_38829476_17708.cpp: In function 'bool check(int, int)':
0_0_38829476_17708.cpp:13:20: error: 'amp' was not declared in this scope
   13 |         if(x >= 1 && x <= 8 && y >= 1 && y <= 8)
      |                    ^~~
0_0_38829476_17708.cpp:13:28: error: expected ')' before ';' token
   13 |         if(x >= 1 && x <= 8 && y >= 1 && y <= 8)
      |           ~                ^
      |                            )
0_0_38829476_17708.cpp:13:38: error: 'amp' was not declared in this scope
   13 |         if(x >= 1 && x <= 8 && y >= 1 && y <= 8)
      |                                      ^~~
0_0_38829476_17708.cpp:13:72: error: expected ';' before ')' token
   13 |         if(x >= 1 && x <= 8 && y >= 1 && y <= 8)
      |                                                                        ^
      |                                                                        ;
0_0_38829476_17708.cpp: In function 'void bfs()':
0_0_38829476_17708.cpp:27:35: error: 'amp' was not declared in this scope
   27 |                 if(cur.x == ed_x && cur.y == ed_y) {
      |                                   ^~~
0_0_38829476_17708.cpp:27:43: error: expected ')' before ';' token
   27 |                 if(cur.x == ed_x && cur.y == ed_y) {
      |                   ~                       ^
      |                                           )
0_0_38829476_17708.cpp:27:58: error: expected ';' before ')' token
   27 |                 if(cur.x == ed_x && cur.y == ed_y) {
      |                                                          ^
      |                                                          ;


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 08:46:59, Gzip enabled