0_0_30009336_27652.cpp: In function 'void bfs()':
0_0_30009336_27652.cpp:43:33: error: 'cout' was not declared in this scope
cout << temp.s << endl; // step里的每一个“动作”都要判断是否符合条件,因为这动作是平行的 所以放在内循环里面!
^
0_0_30009336_27652.cpp:43:51: error: 'endl' was not declared in this scope
cout << temp.s << endl; // step里的每一个“动作”都要判断是否符合条件,因为这动作是平行的 所以放在内循环里面!
^
0_0_30009336_27652.cpp:54:7: error: 'cout' was not declared in this scope
cout <<"NO"<<endl; //如果整个循环结束还是没有找到说明不可以平分;
^
0_0_30009336_27652.cpp:54:20: error: 'endl' was not declared in this scope
cout <<"NO"<<endl; //如果整个循环结束还是没有找到说明不可以平分;
^
0_0_30009336_27652.cpp: In function 'int main()':
0_0_30009336_27652.cpp:58:11: error: 'cin' was not declared in this scope
while(cin >> b[0]>>b[1]>>b[2],b[0]+b[1]+b[2]) //如果相加都等于0 即000 用于结束
^
0_0_30009336_27652.cpp:62:21: error: 'cout' was not declared in this scope
if(b[0]%2) cout << "NO"<<endl;
^
0_0_30009336_27652.cpp:62:35: error: 'endl' was not declared in this scope
if(b[0]%2) cout << "NO"<<endl;
^
|