上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 50 下一页
摘要: 题目连接:http://poj.org/problem?id=2019 只是增加一个维度,类比一维即可。 好理解,但是可以做的更好http://www.cnblogs.com/yijiull/p/6757935.html 阅读全文
posted @ 2017-04-24 00:15 yijiull 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://poj.org/problem?id=3368 来自lrj。。 阅读全文
posted @ 2017-04-23 22:33 yijiull 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://poj.org/problem?id=3417 tarjan+树DP 来自:http://www.cnblogs.com/scau20110726/archive/2013/05/31/3110666.html 阅读全文
posted @ 2017-04-23 21:38 yijiull 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 题目连接:https://www.bnuoj.com/v3/contest_show.php?cid=9057#problem/K 阅读全文
posted @ 2017-04-23 19:25 yijiull 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 题目连接:https://hihocoder.com/problemset/problem/1095 应该是之前在哪看的代码。不像是我写的。。 阅读全文
posted @ 2017-04-21 23:32 yijiull 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 题目连接:https://vjudge.net/problem/UVALive-3942 trie树 dp[i]=sum(dp[i+len(x)]%mod; dp[i]表示从字符i开始的字符串的分解方案方案数,x是s[i……L]的前缀 lrj: 1 // LA3942 Remember the Wo 阅读全文
posted @ 2017-04-21 19:17 yijiull 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 题目连接:https://hihocoder.com/problemset/problem/1014 1 #include<cstdio> 2 #include<cstring> 3 const int maxn=110; 4 struct trie 5 { 6 char a; 7 int cnt; 阅读全文
posted @ 2017-04-21 08:02 yijiull 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 题目连接:https://vjudge.net/problem/UVALive-4329 lowbit.. 阅读全文
posted @ 2017-04-21 00:38 yijiull 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Dropping tests POJ - 2976 题意:给数组a和b, 选择其中的k个使得sigma(a[i])/sigma(b[i])最大。 F(L):=sigma(a[i]*x[i])-L*sigma(b[i]*x[i]), 题解链接:here 阅读全文
posted @ 2017-04-20 18:25 yijiull 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 题目连接:http://poj.org/problem?id=2502 用模拟栈试试。。。 阅读全文
posted @ 2017-04-20 18:05 yijiull 阅读(89) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 50 下一页