xayoyo

C++博客 首页 新随笔 联系 聚合 管理
  0 Posts :: 0 Stories :: 0 Comments :: 0 Trackbacks
re: UESTC D Divide DP[未登录] yoyo 2010-05-05 09:08
Hi, man.
The problems and solution or algorithms posted here are terrific, but in most time readers here are hard to see the description of problems.

Would you provide the problem description or kind of info, before giving your ideas and algorithm code? Or a URL to introduce problems hosted by "UESTC"?

Thanks in advance!

yoyo
@abilitytao
:-) I can know it from code, while no idea what's the purpose of b[i] = a[1]+...a[i]

Thanks for quick replying.

yoyo
I can understand a[i] stores catalan number when there are i nodes.
but what is b[] used for?

Thanks,
yoyo
在 判断"求出满足状态i的,p值最小的部件" 这里有点疑惑

当B = i时 每组设备不一定是选p值最小的那个啊
因为那样得出的答案不一定B=i ,只能说i肯定比最小值小 必须至少选一个bandwith为i的 这样才符合最小的b是i

所以我觉得需要加一个判断是否有bandwidth为i的设备被选中,但是你这么做就已经AC了,我想的是不是有哪里错了?请麻烦指出 ^^

看完了,也流泪了,跟我有好相似的经历。。。
即使过去一年了,一想起她来我还心如刀绞。。。
。。。
她就那样离开我,突然我的世界一切都变的毫无意义。。。
不讲了
呵呵~那个头像也是我最喜欢的。。。