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

AC了,做完发现自己独立思考不够,惭愧~

Posted by swordspirit at 2009-07-24 20:13:52 on Problem 1014
做之前先看了discuss版,发现了已经有大牛证明了模30的可行性。数据规模缩小了
然后模模糊糊地意识到可以将总和折半,然后“堆砌”一下,看能不能堆砌出和的一半。一开始想歪了,以为是k部分拆。。。拐过来,想到用搜索,可是觉得很低效。又看了discuss版,有高人留下dp的思路及参考网址(详见http://hi.baidu.com/ecchi/blog/item/0bb6bab7ab3ca9f631add1b1.html),总算磕磕碰碰的过了。惭愧惭愧……

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