码迷,mamicode.com
首页 >  
搜索关键字:c. dzy loves sequences    ( 1332个结果
HDU - 1711 Number Sequence
Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is to find a ...
分类:其他好文   时间:2017-08-08 19:41:21    阅读次数:152
[HDU5266]pog loves szh III
首先dfs,记录每个点第一次被访问到的时间 那么区间LCA其实就是访问最早和访问最晚的点的LCA 找时间最早和最晚用ST表,找LCA用倍增 ...
分类:其他好文   时间:2017-08-07 20:30:03    阅读次数:125
hdoj 1711 Number Squence
Problem DescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). You ...
分类:其他好文   时间:2017-08-06 15:59:30    阅读次数:206
kmp算法的应用
Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is to find a ...
分类:编程语言   时间:2017-08-05 20:32:46    阅读次数:153
[暑假集训--数论]poj2034 Anti-prime Sequences
Given a sequence of consecutive integers n,n+1,n+2,...,m, an anti-prime sequence is a rearrangement of these integers so that each adjacent pair of in ...
分类:其他好文   时间:2017-08-04 16:13:25    阅读次数:108
CodeForces - 5C Longest Regular Bracket Sequence
This is yet another problem dealing with regular bracket sequences. We should remind you that a bracket sequence is called regular, if by inserting «+ ...
分类:其他好文   时间:2017-08-03 16:54:29    阅读次数:134
(BFS)HDU 4784 Dinner Coming Soon
Coach Pang loves his boyfriend Uncle Yang very much. Today is Uncle Yang’s birthday, Coach Pang wants to have a romantic candlelit dinner at Uncle Yan ...
分类:其他好文   时间:2017-08-02 23:24:54    阅读次数:212
Number Sequence(kmp算法)
Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is to find a ...
分类:编程语言   时间:2017-08-02 21:05:46    阅读次数:161
hdu 5265 技巧题 O(nlogn)求n个数中两数相加取模的最大值
pog loves szh II Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2106 Accepted Submission(s): 60 ...
分类:其他好文   时间:2017-08-02 13:15:13    阅读次数:154
G - Number Sequence
Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is to find a ...
分类:其他好文   时间:2017-08-02 11:53:32    阅读次数:131
1332条   上一页 1 ... 43 44 45 46 47 ... 134 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!