随笔分类 -  排序

摘要:Description N soldiers of the land Gridland are randomly scattered around the country. A position in Gridland is given by a pair (x,y) of integer coor 阅读全文
posted @ 2018-07-28 15:37 Albert_liu 阅读(281) 评论(0) 推荐(0)
摘要:题目描述 In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two ad 阅读全文
posted @ 2018-07-21 21:25 Albert_liu 阅读(190) 评论(0) 推荐(0)
摘要:瑞士轮 题目描述 在双人对决的竞技性比赛,如乒乓球、羽毛球、国际象棋中,最常见的赛制是淘汰赛和循环赛。前者的特点是比赛场数少,每场都紧张刺激,但偶然性较高。后者的特点是较为公平,偶然性较低,但比赛过程往往十分冗长。 本题中介绍的瑞士轮赛制,因最早使用于1895年在瑞士举办的国际象棋比赛而得名。它可以 阅读全文
posted @ 2018-03-18 20:53 Albert_liu 阅读(4573) 评论(0) 推荐(0)