2010年12月1日

摘要: Charm BraceletTime Limit:1000MSMemory Limit:65536KTotal Submissions:6996Accepted:3174DescriptionBessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from theN(1 ≤N≤ 3,402) available charms. Each charmiin the su 阅读全文
posted @ 2010-12-01 22:13 yming0221 阅读(120) 评论(0) 推荐(0)
摘要: 动态规划经典为题给出不同的砝码,可以悬挂在天平的不同位置,求出可以保持天平平衡的悬挂种数BalanceTime Limit:1000MSMemory Limit:30000KTotal Submissions:4309Accepted:2521DescriptionGigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance.It orders two arms of negligible we 阅读全文
posted @ 2010-12-01 13:46 yming0221 阅读(261) 评论(0) 推荐(0)
摘要: 经典动态规划现在对动态规划的子结构划分和子结构的理解,转移方程还没有明确的认识ZipperTime Limit:1000MSMemory Limit:65536KTotal Submissions:9409Accepted:3218DescriptionGiven three strings, you are to determine whether the third string can be formed by combining the characters in the first two strings. The first two strings can be mixed arb 阅读全文
posted @ 2010-12-01 12:46 yming0221 阅读(173) 评论(0) 推荐(0)

导航