
还未AC
文章平均质量分 87
MyZhY
For You To Your For
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ 2109 Power of Cryptography 二分+高精度 【未AC】
DescriptionCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers among these primes. Work in this area has resulted in the practical use of原创 2017-10-17 18:57:43 · 340 阅读 · 0 评论 -
BZOJ 4991 [Usaco2017 Feb]Why Did the Cow Cross the Road III 树状数组套splay【未AC】
DescriptionFarmer John is continuing to ponder the issue of cows crossing the road through his farm, introduced in the preceding two problems. He realizes now that the threshold for friendliness原创 2017-08-28 13:59:13 · 741 阅读 · 0 评论 -
bzoj 3521/5083 [Poi2014]Salad Bar/普及 (卡常)st表+二分+树状数组
Description有一个长度为n的字符串,每一位只会是p或j。你需要取出一个子串S(从左到右或从右到左一个一个取出),使得 不管是从左往右还是从右往左取,都保证每时每刻已取出的p的个数不小于j的个数。你需要最大化|S|。 Input第一行一个整数n,接下来一个长度为n的只含有p,j的字符串 N<=10^6 Output输出S的最大长度 Sample Input6jpjppj Samp原创 2017-10-26 19:42:02 · 654 阅读 · 1 评论