0_0_29990322_18948.cpp: In function 'void bfs()':
0_0_29990322_18948.cpp:46:33: error: 'cout' was not declared in this scope
cout << temp.s << endl; // step里的每一个“动作”都要判断是否符合条件,因为这动作是平行的 所以放在内循环里面!
^
0_0_29990322_18948.cpp:46:51: error: 'endl' was not declared in this scope
cout << temp.s << endl; // step里的每一个“动作”都要判断是否符合条件,因为这动作是平行的 所以放在内循环里面!
^
0_0_29990322_18948.cpp:57:7: error: 'cout' was not declared in this scope
cout <<"NO"<<endl; //如果整个循环结束还是没有找到说明不可以平分;
^
0_0_29990322_18948.cpp:57:20: error: 'endl' was not declared in this scope
cout <<"NO"<<endl; //如果整个循环结束还是没有找到说明不可以平分;
^
0_0_29990322_18948.cpp: In function 'int main()':
0_0_29990322_18948.cpp:61: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_29990322_18948.cpp:65:21: error: 'cout' was not declared in this scope
if(b[0]%2) cout << "NO"<<endl;
^
0_0_29990322_18948.cpp:65:35: error: 'endl' was not declared in this scope
if(b[0]%2) cout << "NO"<<endl;
^
|