Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
呵呵,诲人不倦啊In Reply To:Re:请帮忙看看!没错,但提交时说是wrong answer! Posted by:BillStone at 2004-10-19 14:07:23 > 没有什么大的问题,你的输入控制不太符合要求,我给你改了一下: > void main() > { > int m; > char b[7]="0"; > while(cin.get(b,7)) > { > if(cin.get() == '\n') > return; > cin>>m; > deal(m,b); > while(cin.get() != '\n'); > } > } > 就OK了。。。你可以试一下 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator