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

用getchar()RE,用gets()AC,谁能解释下?

Posted by acm_bone at 2009-08-15 13:10:48 on Problem 1690 and last updated at 2009-08-15 13:13:03
In Reply To:建议尽量使用gets等而不要用更底层的getchar()逐字符读入 Posted by:blablabla at 2007-03-08 14:16:38
好像在别的题目上,getchar是不跳过'\n'的。

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