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:大家看一下这组数据

Posted by hopeztm at 2011-11-09 09:09:41 on Problem 1062
In Reply To:大家看一下这组数据 Posted by:numberztz at 2009-07-30 15:58:05
> 1 5
> 10000 1 2
> 2 5000
> 3 5000
> 3000 4 1
> 4 400
> 3000 2 1
> 4 500
> 1000 3 1
> 5 100
> 100 2 0
> 
> 应该是8000吧

我也纳闷为什么不是 5700
可以通过首先获得 物品5 花费 100
然后在花费100 获得4
有了4 再花费500获得 2
再花费 5000获得1
总共花费 5700.
这几个物品owner的status先后分别是 2 3 2 1都符合要求呀

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