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:囧。。。最后一个case不是'\n‘结尾In Reply To:囧。。。最后一个case不是'\n‘结尾 Posted by:zhaozhouyang at 2011-07-09 19:27:42 选用 while(gets(s) != null) 不会有这个问题 > 以为遇到EOF程序直接结束,遇到'\n'再输出答案。。 > 原来最后一个case是遇到EOF输出 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator