上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 59 下一页
摘要: Multiplication Puzzle Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14834 Accepted: 9107 Description The multiplication puzzle is played 阅读全文
posted @ 2019-05-21 19:37 知道了呀~ 阅读(340) 评论(0) 推荐(0)
摘要: 简介 区间dp,顾名思义就是在一段区间上进行动态规划。对于每段区间,他们的最优值都是由几段更小区间的最优值得到,是分治思想的一种应用,将一个区间问题不断划分为更小的区间直至一个元素组成的区间,枚举他们的组合 ,求合并后的最优值。 模板 模板题:poj 1651 https://www.cnblogs 阅读全文
posted @ 2019-05-20 21:44 知道了呀~ 阅读(888) 评论(0) 推荐(0)
摘要: Brackets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14462 Accepted: 7595 Description We give the following inductive definition of a “ 阅读全文
posted @ 2019-05-20 21:12 知道了呀~ 阅读(308) 评论(0) 推荐(0)
摘要: Hie with the Pie Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 11243 Accepted: 5963 Description The Pizazz Pizzeria prides itself in deli 阅读全文
posted @ 2019-05-18 16:53 知道了呀~ 阅读(272) 评论(0) 推荐(0)
摘要: Cow Hurdles Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9337 Accepted: 4058 Description Farmer John wants the cows to prepare for the c 阅读全文
posted @ 2019-05-16 21:37 知道了呀~ 阅读(308) 评论(0) 推荐(0)
摘要: 最短路径问题 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 41239 Accepted Submission(s): 11918 Proble 阅读全文
posted @ 2019-05-16 21:01 知道了呀~ 阅读(395) 评论(0) 推荐(0)
摘要: Corn Fields Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 21931 Accepted: 11470 Description Farmer John has purchased a lush new rectangu 阅读全文
posted @ 2019-05-16 20:07 知道了呀~ 阅读(217) 评论(0) 推荐(0)
摘要: 转载自https://blog.csdn.net/u013377068/article/details/81054112 动态规划多阶段几个重要的特性: 最优子结构:最优子结构好理解,就是各子问题具有最优解,由局部的最优解就能求出整个问题的最优解。 无后效性:而无后效性就是当前的状态最多只会影响它的 阅读全文
posted @ 2019-05-14 19:34 知道了呀~ 阅读(338) 评论(0) 推荐(0)
摘要: Mondriaan's Dream Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 22073 Accepted: 12368 Description Squares and rectangles fascinated the f 阅读全文
posted @ 2019-05-14 19:31 知道了呀~ 阅读(365) 评论(0) 推荐(0)
摘要: Problem Description小明有一个神奇的海螺,你对海螺说一段字符串,海螺就会返回一个单词,有字符串里面的所有字符组成如告诉海螺“lloeh”海螺则会告诉你“hello”如果有多个单词对应,海螺则会输出字典序最小的那个,如果没找到输入’nothing to find’(不带引号)Inpu 阅读全文
posted @ 2019-05-10 08:57 知道了呀~ 阅读(268) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 59 下一页