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_21223910_20149.cpp:1:1: error: stray '\241' in program
 、#include<bits/stdc++.h>
 ^
0_0_21223910_20149.cpp:1:1: error: stray '\242' in program
0_0_21223910_20149.cpp:1:3: error: stray '#' in program
 、#include<bits/stdc++.h>
   ^
0_0_21223910_20149.cpp:1:4: error: 'include' does not name a type
 、#include<bits/stdc++.h>
    ^
0_0_21223910_20149.cpp:9:1: error: 'queue' does not name a type
 queue<node> q;
 ^
0_0_21223910_20149.cpp: In function 'void bfs()':
0_0_21223910_20149.cpp:17:12: error: 'q' was not declared in this scope
     while(!q.empty()){
            ^
0_0_21223910_20149.cpp: In function 'int main()':
0_0_21223910_20149.cpp:32:11: error: 'cin' was not declared in this scope
     while(cin >> s.x >> s.y >> e.x >> e.y){
           ^
0_0_21223910_20149.cpp:39:9: error: 'q' was not declared in this scope
         q.push(s);
         ^
0_0_21223910_20149.cpp:41:98: error: 'printf' was not declared in this scope
         printf("To get from %c%d to %c%d takes %d knight moves.\n",s.x,s.y,e.x,e.y,step[e.x][e.y]);
                                                                                                  ^


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-07-06 00:09:11, Gzip enabled