杂七杂八
文章平均质量分 76
miao_2cm
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Round #320 (Div. 2) B. Finding Team Member
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There is a programing contest named SnakeUp, 2n people want to c原创 2015-09-17 21:54:24 · 831 阅读 · 0 评论 -
HDU 5792 World is Exploding(树状数组)
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem Description Given a sequence A with length n,count how many quadruple (a,b,c,d) satisfies: a≠b≠c≠d,1≤a< b≤n, 1原创 2016-08-04 11:25:27 · 286 阅读 · 0 评论 -
HDU 5775 Bubble Sort(冒泡排序的位置变换)
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem Description P is a permutation of the integers from 1 to N(index starting from 1). Here is the code of Bubble原创 2016-07-29 21:01:02 · 1008 阅读 · 0 评论 -
Educational Codeforces Round 5 D. Longest k-Good Segment(双指针)
time limit per test 1 second memory limit per test256 megabytes The array a with n integers is given. Let’s call the sequence of one or more consecutive elements in a segment. Also let’s call the se原创 2016-07-20 16:19:15 · 354 阅读 · 0 评论 -
Educational Codeforces Round 4 D. The Union of k-Segments
time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output You are given n segments on the coordinate axis Ox and the num原创 2016-04-08 22:01:42 · 466 阅读 · 0 评论 -
Codeforces Round #343 (Div. 2) B. Far Relative’s Problem(O(1)的线段标记)
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard outputFamil Door wants to celebrate his birthday with his friends from Far Far Away. He has n frien原创 2016-03-24 21:55:09 · 396 阅读 · 0 评论 -
Codeforces Round #331 (Div. 2) C. Wilbur and Points
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Wilbur is playing with a set of n points on the coordinate plane. All points have non-negat原创 2015-11-21 17:24:47 · 558 阅读 · 0 评论 -
Codeforces Round #324 (Div. 2) A. Olesya and Rodion
time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Olesya loves numbers consisting of n digits, and Rodion only like原创 2015-10-09 21:51:00 · 316 阅读 · 0 评论 -
Codeforces Round #324 (Div. 2) B. Kolya and Tanya
time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Kolya loves putting gnomes at the circle table and giving them co原创 2015-10-09 22:02:22 · 336 阅读 · 0 评论 -
Codeforces Round #339 (Div. 2) D. Skills(模拟+枚举)
time limit per test2 seconds memory limit per test256 megabytesLesha plays the recently published new version of the legendary game hacknet. In this version character skill mechanism was introduced. N原创 2016-08-10 16:22:27 · 505 阅读 · 0 评论
分享