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 tudejian at 2007-08-30 23:27:14 on Problem 1155
In Reply To:Re:请问这题内存用量那么少都是怎么做到的呢??? Posted by:richardxx at 2007-06-08 20:59:55
> DP啊,f[n][k]表示第n个节点发送给k个用户所获得的盈利。。
> 
> 最后最大的k使f[1][k]>=0就是答案了。。。
> 

这种做法的理论复杂度很高,但这道题目能过。

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