摘要:
##CodeForces - 949B 题意:现在给你一个n,表示有2*n-1个方格,第奇数方格上会有一个数字 1-n按顺序放。第偶数个方格上是没有数字的。变动规则是排在最后一个位置的数字,移动到它前边最近的空位 。 直到数字之间没有空位。最终的数列是由n已... 阅读全文
posted @ 2019-01-25 17:10
_年少有为
阅读(137)
评论(0)
推荐(0)
摘要:
nth_element() O(n)复杂度求第k+1小元素函数原型void nth_element(_RAIter, _RAIter, _RAIter);void nth_element(_RAIter, _RAIter, _RAIter, _Compar... 阅读全文
posted @ 2019-01-25 17:10
_年少有为
阅读(814)
评论(0)
推荐(0)

浙公网安备 33010602011771号