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:不过我确实碰到过一次和输出时机有关的

Posted by frkstyc at 2006-01-21 21:06:11 on Problem 2080
In Reply To:不过我确实碰到过一次和输出时机有关的 Posted by:wywcgs at 2006-01-21 21:02:38
> 忘了哪道题,当时scanf();的时候后面打了一个\n,读取回车,后面要gets();的。调试的时候就发现当我输入了下一组数据之后才会出现上一组数据的结果,最后EOF的时候会输出最后一组数据的结果,然后提交就WA了。修改之后就AC

这种事情90%是你写错了,输入和输出是独立的

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