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 2008022118 at 2009-12-20 09:37:23 on Problem 2715 and last updated at 2009-12-20 09:37:40
题意是:两个桶,只要有一个(each)两种paint的比与B/W (const的)相差小于0.00001就可以了。如果答案相差,可能就是这里的问题了。
另外,按操作直接推出公式,还有很多可以用一个变量代替就可以了,避免不必要的运算,这样才不会TLE。

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