会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Assassin_poi君
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
32
下一页
2018年5月14日
HDU - 5898——odd-even number (数位DP)
摘要: Time limit1000 msMemory limit65536 kBFor a number,if the length of continuous odd digits is even and the length of continuous even dig...
阅读全文
posted @ 2018-05-14 14:24 Assassin_poi君
阅读(179)
评论(0)
推荐(0)
2018年5月13日
(树形DP入门)Anniversary party
摘要: There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical struct...
阅读全文
posted @ 2018-05-13 15:24 Assassin_poi君
阅读(167)
评论(0)
推荐(0)
2018年5月12日
祈福永无BUG
摘要: // _ooOoo_// o8888888o// 88" . "88// ...
阅读全文
posted @ 2018-05-12 21:40 Assassin_poi君
阅读(219)
评论(0)
推荐(0)
2018年5月7日
O(nlogn) 求LIS(Longest Increasing Subsequence)方法的总结
摘要: 前几天做题遇到求LIS的题,照常用dp去做结果超时了。之后就去网上找了O(nlogn)的方法。因为看了好几个博客我才看懂,所以这里我进行下总结。首先第一种写法:假设存在一个序列d[1..9] = 2 1 5 3 6 4 8 9 7,可以看出来它的LIS长度为5。下面一...
阅读全文
posted @ 2018-05-07 20:26 Assassin_poi君
阅读(239)
评论(0)
推荐(0)
HDU - 3998 Sequence
摘要: There is a sequence X (i.e. x[1], x[2], ..., x[n]). We define increasing subsequence of X as x[i1], x[i2],...,x[ik], which satisfies f...
阅读全文
posted @ 2018-05-07 20:04 Assassin_poi君
阅读(139)
评论(0)
推荐(0)
2018年4月25日
qdulq-2015 国赛B组C++【密文搜索】(状压)
摘要: 密文搜索福尔摩斯从X星收到一份资料,全部是小写字母组成。他的助手提供了另一份资料:许多长度为8的密码列表。福尔摩斯发现,这些密码是被打乱后隐藏在先前那份资料中的。请你编写一个程序,从第一份资料中搜索可能隐藏密码的位置。要考虑密码的所有排列可能性。数据格式:输入第一行:...
阅读全文
posted @ 2018-04-25 16:35 Assassin_poi君
阅读(166)
评论(0)
推荐(0)
2018年4月23日
python + opencv实现提取png图像的像素信息并存储到txt文件中(附安装指导)
摘要: 相关库安装指导:这里我们需要 opencv_python,numpy,matplotlib库,另外我用的是python3.6.1版本。一般库大家都是用pip install命令安装的,不过不知道为啥这里的opencv_python库总是抽风,就是安装不了(起码我周围都...
阅读全文
posted @ 2018-04-23 10:34 Assassin_poi君
阅读(3424)
评论(0)
推荐(0)
2018年4月21日
FZU2112 Tickets(欧拉通路)
摘要: You have won a collection of tickets on luxury cruisers. Each ticket can be used only once, but can be used in either direction betwee...
阅读全文
posted @ 2018-04-21 20:20 Assassin_poi君
阅读(150)
评论(0)
推荐(0)
2018年4月20日
康托展开and逆展开c++实现
摘要: 康托展开:#include using namespace std;int board[10]{1,1,2,6,24,120,720,5040,40320,362880};//0-9的阶乘 bool book[10]; //标记数是否已经出现过 int main(){...
阅读全文
posted @ 2018-04-20 17:06 Assassin_poi君
阅读(412)
评论(0)
推荐(0)
2018年4月19日
51Nod 1201-整数划分
摘要: 将N分为若干个不同整数的和,有多少种不同的划分方式,例如:n = 6,{6} {1,5} {2,4} {1,2,3},共4种。由于数据较大,输出Mod 10^9 + 7的结果即可。Input输入1个数N(1 =2)的方案总个数,例如,6(=9-3)分成3份可以分为{1...
阅读全文
posted @ 2018-04-19 17:59 Assassin_poi君
阅读(179)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
32
下一页
公告