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]);
^
|