会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Assassin_poi君
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
···
32
下一页
2018年2月4日
Checker
摘要: AtCoDeer is thinking of painting an infinite two-dimensional grid in a checked pattern of side K. Here, a checked pattern of side K is...
阅读全文
posted @ 2018-02-04 21:07 Assassin_poi君
阅读(246)
评论(0)
推荐(0)
2018年2月1日
Manacher模板
摘要: #define MAXN 1000005char s[MAXN];//原字符串char New[2*MAXN];//处理过后得到的新字符串int p[2*MAXN];//记录以每个字符为中心的最长回文长度+1,注意是+1后的结果//这里为什么多出1一定要想明白,很重要...
阅读全文
posted @ 2018-02-01 13:41 Assassin_poi君
阅读(122)
评论(0)
推荐(0)
POJ3974——Palindrome
摘要: Andy the smart computer science student was attending an algorithms class when the professor asked the students a simple question, "Ca...
阅读全文
posted @ 2018-02-01 13:36 Assassin_poi君
阅读(114)
评论(0)
推荐(0)
2018年1月31日
Seek the Name, Seek the Fame
摘要: The little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give names to their n...
阅读全文
posted @ 2018-01-31 21:41 Assassin_poi君
阅读(241)
评论(0)
推荐(0)
2018年1月30日
HDU1358——Period(KMP求最小循环节)
摘要: For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to kno...
阅读全文
posted @ 2018-01-30 21:58 Assassin_poi君
阅读(180)
评论(0)
推荐(0)
HDU3746——Cyclic Nacklace(Next数组求最小循环节)
摘要: CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there are o...
阅读全文
posted @ 2018-01-30 17:17 Assassin_poi君
阅读(165)
评论(0)
推荐(0)
2018年1月26日
How many Fibs?(高精度斐波那契数) HDU1316
摘要: Problem DescriptionRecall the definition of the Fibonacci numbers: f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n >= 3)Given two numbers a and b...
阅读全文
posted @ 2018-01-26 17:27 Assassin_poi君
阅读(231)
评论(0)
推荐(0)
4个数和为0 ----51Nod
摘要: 给出N个整数,你来判断一下是否能够选出4个数,他们的和为0,可以则输出"Yes",否则输出"No"。 Input第1行,1个数N,N为数组的长度(4 #include #include #include using namespace std;int board[1...
阅读全文
posted @ 2018-01-26 15:02 Assassin_poi君
阅读(143)
评论(0)
推荐(0)
2018年1月22日
归并排序模板
摘要: #include #include #include #include using namespace std;#define MAXN 100int board[MAXN];int result[MAXN];void Merge(int left,int mid,i...
阅读全文
posted @ 2018-01-22 11:02 Assassin_poi君
阅读(103)
评论(0)
推荐(0)
2018年1月21日
Ultra-QuickSort (树状数组求逆序数)
摘要: In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swap...
阅读全文
posted @ 2018-01-21 20:41 Assassin_poi君
阅读(241)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
···
32
下一页
公告