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:不懂啊,为什么不是求vi/wi的最大k个i值?

Posted by Sempr at 2006-11-23 22:25:51 on Problem 3111
In Reply To:不懂啊,为什么不是求vi/wi的最大k个i值? Posted by:1083_3 at 2006-11-23 22:14:42
4 3
11 1
9 1
20000 10000
1 1

如果选前三个的话,s大约是2
而选前两个和最后一个的话,s是7

很明显只选最大的一些是不对的


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