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 |
Re:用getchar()过滤回车符的请注意,n,m后面可能有多个空格!FT!In Reply To:用getchar()过滤回车符的请注意,n,m后面可能有多个空格!FT! Posted by:beyonlin_SCUT at 2006-09-02 17:41:52 Faint... 我说ZOJ上AC的代码怎么会错- - 还白白手动输入样例。。。 getchar(); 改成 while(getchar()==' '); 就AC了。。。 这测试数据太XE了。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator