会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
南风
欢迎参观:https://github.com/lixinjie97
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
下一页
2016年5月26日
双线程dp
摘要: zznu 1625 详解链接:http://blog.csdn.net/su20145104009/article/details/51277041 下面是四维dp 如果n和m太大就要根据条件,降维为三维,这样回省很多的空间
阅读全文
posted @ 2016-05-26 20:52 南风丶丶
阅读(182)
评论(0)
推荐(0)
编辑
2016年5月25日
经典搜索题目
摘要: hdu 1238 思路对了,题目被A的可能就大了 #include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<cctype> #include<algorithm> #include <vector> #
阅读全文
posted @ 2016-05-25 22:23 南风丶丶
阅读(272)
评论(0)
推荐(0)
编辑
2016年5月24日
全排列
摘要: HDU 1716利用 DFS 的回溯产生全排列DFS 回溯的这点功能是很神奇的 #include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<cctype> #include<algorithm> #inc
阅读全文
posted @ 2016-05-24 19:37 南风丶丶
阅读(137)
评论(0)
推荐(0)
编辑
最小生成树
摘要: zznu 1983最小生成树的变形,关键是想不到,想到也就不会觉得难了#include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<cctype> #include<algorithm> #include
阅读全文
posted @ 2016-05-24 19:13 南风丶丶
阅读(112)
评论(0)
推荐(0)
编辑
2016年5月22日
概率论
摘要: 题目链接: FZU 2132第一道概率论题目,说白了,就是算概率另外推荐一篇博文 http://blog.csdn.net/crescent__moon/article/details/17347379讲的很好#include<cstdio> #include<cstring> #include<c
阅读全文
posted @ 2016-05-22 17:19 南风丶丶
阅读(148)
评论(0)
推荐(0)
编辑
2016年5月14日
二分搜索 (高精度)
摘要: HDU 2199#include<cstdio> #include<cstring> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> using namespace std; #define N 510 #
阅读全文
posted @ 2016-05-14 20:09 南风丶丶
阅读(175)
评论(0)
推荐(0)
编辑
2016年5月10日
二分法
摘要: 题目链接: CodeForces 670C‘题意:有n个科学家去看电影,要使这些科学家能听懂的人数最多,在能听懂的人数一样的情况下,选择能看懂字幕的人数最多的那个电影作为答案神奇的二分搜索#include<cstdio> #include<cstring> #include<cstdlib> #in
阅读全文
posted @ 2016-05-10 16:29 南风丶丶
阅读(116)
评论(0)
推荐(0)
编辑
2016年5月9日
想法题
摘要: 题目链接 CodeForces 614A::::在要爆long long 时,用除法判断#include<cstdio> #include<cstring> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm>
阅读全文
posted @ 2016-05-09 22:50 南风丶丶
阅读(128)
评论(0)
推荐(0)
编辑
2016年5月3日
二分搜索
摘要: // CodeForces 600B//二分搜索 时间复杂度为O(log n)#include<stdio.h> #include<string.h> #include<stdlib.h> #include<ctype.h> #include<math.h> #include<algorithm>
阅读全文
posted @ 2016-05-03 22:13 南风丶丶
阅读(144)
评论(0)
推荐(0)
编辑
2016年4月26日
dp
摘要: /*给组数据3 2 4 2dp[i][j]为:1 0 1第一秒0 2 02 0 20 4 0 答案为:4 */
阅读全文
posted @ 2016-04-26 13:45 南风丶丶
阅读(150)
评论(0)
推荐(0)
编辑
上一页
1
···
3
4
5
6
7
8
下一页