Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:用getchar()过滤回车符的请注意,n,m后面可能有多个空格!FT!

Posted by FrankHB at 2009-10-11 19:13:32 on Problem 1562
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator