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 sgxiao at 2008-10-11 18:21:46 on Problem 1562
In Reply To:用getchar()过滤回车符的请注意,n,m后面可能有多个空格!FT! Posted by:beyonlin_SCUT at 2006-09-02 17:41:52
> WA了几次!

while( (c = getchar()) != '*' && c != '@');

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