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

使用fgets居然不能单纯用回车判断输入结束……

Posted by Zenomyth at 2013-10-13 16:40:57 on Problem 2778 and last updated at 2013-10-13 16:43:08
在本地测试了将近100组数据都没有re,提交上去就re,结果发现是fgets后除了回车还要判断0字符,本来以为可以1次AC的,结果这个小问题耽误了好久
PS:做完1625再做这个感觉确实容易很多,代码基本都是一样的

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