|
|
вернуться в форумWA#6 In test #6 we must write 2nd representation in 1st. This get WA6 while( 1 ){ string cur; getline( cin, cur ); if( cur == "." ) break;//!!!!!!! pT p = Q.front(); Q.pop_front(); IsBl[p.x][p.y] = true; <secret deleted code here =) > } This get AC: while( 1 ){ string cur; getline( cin, cur ); pT p = Q.front(); Q.pop_front(); IsBl[p.x][p.y] = true; if( cur == "." ) break;//!!!!!!! <secret deleted code here =) > } PS: sily mistake. Edited by author 18.01.2012 21:52 |
|
|