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_38712789_30919.cpp:4:13: error: 'int64_t' does not name a type
    4 | using i64 = int64_t;
      |             ^~~~~~~
0_0_38712789_30919.cpp:4:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    3 | #include<queue>
  +++ |+#include <cstdint>
    4 | using i64 = int64_t;
0_0_38712789_30919.cpp:6:13: error: 'i64' does not name a type
    6 | #define int i64
      |             ^~~
0_0_38712789_30919.cpp:8:7: note: in expansion of macro 'int'
    8 | const int maxn = 1e6 + 10;
      |       ^~~
0_0_38712789_30919.cpp:6:13: error: 'i64' does not name a type
    6 | #define int i64
      |             ^~~
0_0_38712789_30919.cpp:9:1: note: in expansion of macro 'int'
    9 | int dx[8] = { 1,1,2,2,-1,-1,-2,-2 };
      | ^~~
0_0_38712789_30919.cpp:6:13: error: 'i64' does not name a type
    6 | #define int i64
      |             ^~~
0_0_38712789_30919.cpp:10:1: note: in expansion of macro 'int'
   10 | int dy[8] = { 2,-2,1,-1,2,-2,1,-1 };
      | ^~~
0_0_38712789_30919.cpp:6:13: error: 'i64' does not name a type
    6 | #define int i64
      |             ^~~
0_0_38712789_30919.cpp:14:1: note: in expansion of macro 'int'
   14 | int bx, by, ex, ey, ans;
      | ^~~
0_0_38712789_30919.cpp:6:13: error: 'i64' does not name a type
    6 | #define int i64
      |             ^~~
0_0_38712789_30919.cpp:15:1: note: in expansion of macro 'int'
   15 | int BFS()
      | ^~~
0_0_38712789_30919.cpp:6:13: error: 'i64' does not name a type
    6 | #define int i64
      |             ^~~
0_0_38712789_30919.cpp:52:1: note: in expansion of macro 'int'
   52 | int solve(char* s1, char* s2)
      | ^~~
0_0_38712789_30919.cpp: In function 'int main()':
0_0_38712789_30919.cpp:68:73: error: 'solve' was not declared in this scope
   68 |         printf("To get from %s to %s takes %d knight moves.\n", S1, S2, solve(S1, S2));
      |                                                                         ^~~~~


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-25 15:23:52, Gzip enabled