0_0_16524510_10272.cpp: In function 'void bfs()':
0_0_16524510_10272.cpp:42:13: error: 'cout' was not declared in this scope
cout<<now.step<<endl;
^
0_0_16524510_10272.cpp:42:29: error: 'endl' was not declared in this scope
cout<<now.step<<endl;
^
0_0_16524510_10272.cpp: In function 'int main()':
0_0_16524510_10272.cpp:80:5: error: 'string' was not declared in this scope
string a;
^
0_0_16524510_10272.cpp:104:13: error: 'cout' was not declared in this scope
cout<<"No solution!"<<endl;
^
0_0_16524510_10272.cpp:104:35: error: 'endl' was not declared in this scope
cout<<"No solution!"<<endl;
^
|