会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
GoldenFingers
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
···
33
下一页
2017年11月23日
经典:区间dp-合并石子
摘要: 题目链接 :http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=737这个动态规划的思是,要得出合并n堆石子的最优答案可以从小到大枚举所有石子合并的最优情况,例如要合并5堆石子就可以从,最优的2+3和1+4中得到最佳...
阅读全文
posted @ 2017-11-23 15:46 GoldenFingers
阅读(124)
评论(0)
推荐(0)
2017年11月15日
Codeforces Round #879 (Div. 2) C. Short Program
摘要: 题目链接:http://codeforces.com/contest/879/problem/CC. Short Programtime limit per test2 seconds memory limit per test256 megabytesPetya l...
阅读全文
posted @ 2017-11-15 16:10 GoldenFingers
阅读(130)
评论(0)
推荐(0)
2017年11月11日
Codeforces Round #877 (Div. 2) E. Danil and a Part-time Job
摘要: E. Danil and a Part-time Job题目链接:http://codeforces.com/contest/877/problem/Etime limit per test2 seconds memory limit per test256 mega...
阅读全文
posted @ 2017-11-11 19:38 GoldenFingers
阅读(185)
评论(0)
推荐(0)
2017年11月7日
Codeforces Round #877 (Div. 2) D. Olya and Energy Drinks
摘要: 题目链接:http://codeforces.com/contest/877/problem/DD. Olya and Energy Drinkstime limit per test2 seconds memory limit per test256 megabyt...
阅读全文
posted @ 2017-11-07 16:56 GoldenFingers
阅读(175)
评论(0)
推荐(0)
2017年11月6日
Codeforces Round #877 (Div. 2) B. - Nikita and string
摘要: 题目链接:http://codeforces.com/contest/877/problem/BNikita and stringtime limit per test2 seconds memory limit per test256 megabytesNikita...
阅读全文
posted @ 2017-11-06 19:58 GoldenFingers
阅读(185)
评论(0)
推荐(0)
2017年10月28日
Aizu-ALDS1_3_A:Stack
摘要: D - StackWrite a program which reads an expression in the Reverse Polish notation and prints the computational result. An expression ...
阅读全文
posted @ 2017-10-28 16:21 GoldenFingers
阅读(217)
评论(0)
推荐(0)
关于各种排序(插入,冒泡,选择,希尔)
摘要: 插入排序:能快速处理相对有序的数据,最优情况下复杂度仅仅为O(n)(即原本就是有序的数列);#includeusing namespace std;const int maxn = 100;int num[maxn];void InsertionSort(int n)...
阅读全文
posted @ 2017-10-28 14:41 GoldenFingers
阅读(175)
评论(0)
推荐(0)
2017年10月8日
Codeforces Round #439 (Div. 2) E. The Untended Antiquity
摘要: E. The Untended Antiquity题目链接http://codeforces.com/contest/869/problem/E 解题心得: 1、1,x1,y1,x2,y2 以(x1,y1)为左上角(x2,y2)为右下角的矩形,四边建墙。 ...
阅读全文
posted @ 2017-10-08 17:01 GoldenFingers
阅读(123)
评论(0)
推荐(0)
Codeforces Round #439 (Div. 2) C. The Intriguing Obsession
摘要: C. The Intriguing Obsession题目链接http://codeforces.com/contest/869/problem/C 解题心得: 1、由于题目中限制了两个相同颜色的点之间长度至少为3,这样就只能两两不同颜色的点相互组合,再将三种...
阅读全文
posted @ 2017-10-08 16:42 GoldenFingers
阅读(123)
评论(0)
推荐(0)
Codeforces Round #439 (Div. 2) B. The Eternal Immortality
摘要: B. The Eternal Immortality题目链接http://codeforces.com/contest/869/problem/B 解题心得:题意就是给出a,b,问(a!)/(b!)的个位数,要注意0,5两个数,只要a,b相差超过5个位数就只能是0,其...
阅读全文
posted @ 2017-10-08 16:22 GoldenFingers
阅读(100)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
33
下一页
公告