随笔分类 -  数位DP

hiho 1033 —— 交错和 【数位DP】
摘要:1033 : 交错和 1033 : 交错和 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 给定一个数 x,设它十进制展从高位到低位上的数位依次是 a0, a1, ..., an - 1,定义交错和函数: f(x) = a0 - a1 + a2 - ... + ( -  阅读全文

posted @ 2016-04-25 21:47 SuperChan 阅读(325) 评论(0) 推荐(0)

POJ - 3286 - How many 0's? 【数位DP】
摘要:How many 0's? Time Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u Description A Benedict monk No.16 writes down the decimal repres 阅读全文

posted @ 2016-04-24 22:37 SuperChan 阅读(265) 评论(0) 推荐(0)

HDU 4507 —— 吉哥系列故事――恨7不成妻
摘要:吉哥系列故事――恨7不成妻 Time Limit:500MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u 吉哥系列故事――恨7不成妻 Description 单身! 依然单身! 吉哥依然单身! DS级码农吉哥依然单身! 所以,他生平最恨情人节 阅读全文

posted @ 2016-04-14 22:27 SuperChan 阅读(215) 评论(0) 推荐(0)

CodeForces 55D - Beautiful numbers
摘要:Beautiful numbers Time Limit:4000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Beautiful numbers Description Volodya is an odd boy and his ta 阅读全文

posted @ 2016-04-14 17:11 SuperChan 阅读(174) 评论(0) 推荐(0)

SPOJ BALNUM - Balanced Numbers
摘要:Balanced Numbers Time Limit:123MS Memory Limit:1572864KB 64bit IO Format:%lld & %llu Balanced Numbers Description Balanced numbers have been used by m 阅读全文

posted @ 2016-04-14 13:49 SuperChan 阅读(161) 评论(0) 推荐(0)

HDU 3709 —— Balanced Number
摘要:Balanced Number Time Limit:5000MS Memory Limit:65535KB 64bit IO Format:%I64d & %I64u Balanced Number Description A balanced number is a non-negative i 阅读全文

posted @ 2016-04-14 09:35 SuperChan 阅读(191) 评论(0) 推荐(0)

HDU 3652 —— B-number
摘要:B-number Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u B-number Description A wqb-number, or B-number for short, is a non-negat 阅读全文

posted @ 2016-04-14 00:47 SuperChan 阅读(199) 评论(0) 推荐(0)

POJ 3252 —— Round Numbers
摘要:Round Numbers Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Round Numbers Description The cows, as you know, have no fingers or 阅读全文

posted @ 2016-04-13 23:40 SuperChan 阅读(135) 评论(0) 推荐(0)

HDU 2089 —— 不要62
摘要:不要62 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。杭州交通管理局经常会扩充一些的士车 阅读全文

posted @ 2016-04-13 22:54 SuperChan 阅读(173) 评论(0) 推荐(0)

HDU 3555 —— Bomb
摘要:Bomb Problem Description The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number seque 阅读全文

posted @ 2016-04-13 22:52 SuperChan 阅读(107) 评论(0) 推荐(0)

HDU 4734 —— F(x)
摘要:F(x) Time Limit:500MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u F(x) Description For a decimal number x with n digits (A nA n-1A n-2 ... A 2A 阅读全文

posted @ 2016-04-13 22:48 SuperChan 阅读(158) 评论(0) 推荐(0)

导航