二分
文章平均质量分 87
creatorx
这个作者很懒,什么都没留下…
展开
-
codeforces contest 750 c题
C. New Year and Rating time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Every Codeforces user has rating, described with one integer, possi原创 2017-03-19 18:11:54 · 713 阅读 · 0 评论 -
UESTC1722(二分)
越快越好!Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Submit Status假期将至,潘警长打算带n个实习步行出去巡逻,他们正通过一条长l米的通道。每个见习的速度恒定为v1米每秒。为了尽快通过这条通道,大家向总部请求了原创 2017-09-28 18:39:14 · 243 阅读 · 0 评论 -
hihoCoder1403(后缀数组 + 二分)
时间限制:5000ms单点时限:1000ms内存限制:256MB描述小Hi平时的一大兴趣爱好就是演奏钢琴。我们知道一个音乐旋律被表示为长度为 N 的数构成的数列。小Hi在练习过很多曲子以后发现很多作品自身包含一样的旋律。旋律是一段连续的数列,相似的旋律在原数列可重叠。比如在1 2 3 2 3 2 1 中 2 3 2 出现了两次。小Hi想知道一段旋原创 2017-09-17 09:37:36 · 263 阅读 · 0 评论 -
HDU6070(二分+线段树区间更新)
Dirt RatioTime Limit: 18000/9000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 1171 Accepted Submission(s): 519 Special JudgeProblem Description In ACM/ICPC原创 2017-08-04 16:46:10 · 348 阅读 · 0 评论 -
812C(二分)
C. Sagheer and Nubian Market time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output On his trip to Luxor and Aswan, Sagheer went to a Nubian mark原创 2017-06-02 11:00:18 · 562 阅读 · 0 评论 -
codeforces contest 785 c题
C. Anton and Fairy Tale time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Anton likes to listen to fairy tales, especially when Danik, Anton’原创 2017-03-16 20:37:28 · 305 阅读 · 0 评论 -
codeforces contest 779 D题
D. String Game time limit per test2 seconds memory limit per test512 megabytes inputstandard input outputstandard output Little Nastya has a hobby, she likes to remove some letters from word, to o原创 2017-03-23 20:28:48 · 493 阅读 · 0 评论 -
hdu5726 rmq+二分
GCDTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 3301 Accepted Submission(s): 1189Problem Description Give you a sequence of N(N≤100,000原创 2017-03-13 18:31:08 · 243 阅读 · 0 评论 -
2017浙江理工大学校赛H题
4273: 玩具 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 779 Solved: 157 Description 商店有n个玩具,第i个玩具有价格a[i]和快乐值b[i]。有一天,小王来到商店想买一些玩具,商店老板告诉他,如果他买的所有玩具的位置是连续的,那么老板答应小王购买的所有玩具中某一个可以免费。小王接受老板的提议,他现在有零花原创 2017-03-22 21:29:28 · 789 阅读 · 0 评论 -
2016亚洲区域赛现场赛china final D题
Problem D. Ice Cream Tower Input file: Standard Input Output file: Standard Ouptut Time limit: 6 seconds Mr. Panda likes ice cream very much especially the ice cream tower. An ice cream tower consists原创 2017-03-11 15:38:09 · 693 阅读 · 0 评论 -
2017CCPC秦皇岛H(二分 + 二分图的最大匹配数)
Prime SetTime Limit: 2 Seconds Memory Limit: 131072 KBGiven an array of integers , we say a set is a prime set of the given array, if and is prime.BaoBao has just found an arr原创 2017-11-01 15:07:38 · 650 阅读 · 0 评论