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:这题要把最大值开到2*10^9...我开到10^9WA了,改成2*10^9就AC了

Posted by EVILsupermp5 at 2013-11-11 17:22:49 on Problem 2353
In Reply To:这题要把最大值开到2*10^9...我开到10^9WA了,改成2*10^9就AC了 Posted by:wangyizhi at 2009-06-08 16:34:27
我跟你们正相反

开到2*10^9就WA
开到10^9就AC

原因是某个cost与哨兵值2*10^9相加,本意是非法的决策,结果由于加法越界加出负值,把非法决策当成了最优决策了

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