
oj_sort and search
文章平均质量分 80
昆libra
这个作者很懒,什么都没留下…
展开
-
zoj2727-------------------List the Books 结构体排序
Jim is fond of reading books, and he has so many books that sometimes it's hard for him to manage them. So he is asking for your help to solve this problem.Only interest in the name, press year and原创 2012-08-09 15:29:24 · 679 阅读 · 0 评论 -
zoj3286-------------------Ultra-QuickSort 逆序对+递归合并排序(归并排序)
In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two adjacent sequence elements until the sequence is sorted i原创 2012-08-07 21:02:51 · 423 阅读 · 0 评论 -
zoj1101-----------Gamblers----------快排与折半查找
A group of n gamblers decide to play a game: At the beginning of the game each of them will cover up his wager on the table and the assitant must make sure that there are no two gamblers have put th原创 2012-08-01 15:38:45 · 838 阅读 · 0 评论 -
zoj3129----------------Japan 逆序对~~
Japan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the East coast and M cities on the West coast (M ). K superhigh原创 2012-08-13 14:17:54 · 506 阅读 · 0 评论