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_38809732_30328.cpp: In function 'int bfs()':
0_0_38809732_30328.cpp:46:33: error: 'PII' was not declared in this scope
   46 |                                 PII t = qg.front(); qg.pop();
      |                                 ^~~
0_0_38809732_30328.cpp:47:41: error: 't' was not declared in this scope
   47 |                                 int x = t.x, y = t.y;
      |                                         ^
0_0_38809732_30328.cpp:6:11: error: 'second' was not declared in this scope
    6 | #define y second
      |           ^~~~~~
0_0_38809732_30328.cpp:48:47: note: in expansion of macro 'y'
   48 |                                 if (!check(x, y, tim)) continue;
      |                                               ^
0_0_38809732_30328.cpp:6:11: error: 'second' was not declared in this scope
    6 | #define y second
      |           ^~~~~~
0_0_38809732_30328.cpp:51:64: note: in expansion of macro 'y'
   51 |                                         int a = x + dx[k], b = y + dy[k];
      |                                                                ^


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-24 09:50:23, Gzip enabled