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

貌似有这样的测试用例: 4 0 0 9 之类的吧。

Posted by Brinews at 2008-04-20 11:46:33 on Problem 1942
In Reply To:结束条件也需注意啊! Posted by:200593141 at 2008-03-15 09:46:12
> while(scanf("%lf %lf", &m, &n)!= EOF && (m !=0 || n != 0)) =》 AC
> while(scanf("%lf %lf", &m, &n)!= EOF && m !=0 && n != 0) => WA
> 就因为这 又贡献了无数WA

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