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

我想此题应该还要考虑第一个disk可以去掉的情况吧。。

Posted by acmer1183 at 2010-04-29 23:06:24 on Problem 1819
此题数据好像不多,要计算的很少。
注意三点可以去掉disk的情况:最前面的,中间的,最后面的。
具体判断方法很多,只要考虑到了这些,剩下的模拟就应该可以过了。
最后判断两了double数相等用if(fabs(x)<eps),为此1WA。

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