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

结束条件也需注意啊!

Posted by 200593141 at 2008-03-15 09:46:12 on Problem 1942 and last updated at 2008-03-15 09:47:06
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