![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
排序
落雪染轻愁
这个作者很懒,什么都没留下…
展开
-
Codeforces-545D. Queue
Little girl Susie went shopping with her mom and she wondered how to improve service quality.原创 2016-08-04 22:13:59 · 1394 阅读 · 0 评论 -
HDU-2689-Sort it
You want to processe a sequence of n distinct integers by swapping two adjacent sequence elements until the sequence is sorted in ascending order. Then how many times it need.原创 2016-08-08 23:25:38 · 237 阅读 · 0 评论 -
CodeForces-710B. Optimal Point on a Line
You are given n points on a line with their coordinates xi. Find the point x so the sum of distances to the given points is minimal.Input The first line contains integer n (1 ≤ n ≤ 3·105) — the number原创 2016-08-24 22:01:11 · 567 阅读 · 0 评论