dp
x920405451x
这个作者很懒,什么都没留下…
展开
-
hdu 4418 概率dp + gauss消元
Time travel Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1336 Accepted Submission(s): 292 Problem Description Agent K is原创 2014-07-16 16:04:04 · 692 阅读 · 0 评论 -
codeforces 453B Little Pony and Harmony Chest
B. Little Pony and Harmony Chest time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Princess Twilight went to原创 2014-08-02 14:47:17 · 623 阅读 · 0 评论 -
hdu 4906 Our happy ending
Our happy ending Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 700 Accepted Submission(s): 223 Problem Description There is原创 2014-08-03 14:16:56 · 667 阅读 · 0 评论 -
hihocoder 1033 交错和
时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 给定一个数 x,设它十进制展从高位到低位上的数位依次是 a0, a1, ..., an - 1,定义交错和函数: f(x) = a0 - a1 + a2 - ... + ( - 1)n - 1an - 1 例如: f(3214567) = 3 - 2 + 1 - 4 + 5原创 2014-07-18 18:00:51 · 1850 阅读 · 1 评论 -
codeforces 271E 离散化+线段树,dp优化
E. Pillars time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Marmot found a row with n pillars. The i-th pilla原创 2014-10-07 18:50:14 · 722 阅读 · 0 评论