随笔分类 -  7-3-算法-排序

摘要:DreamGrid has just found an integer sequence in his right pocket. As DreamGrid is bored, he decides to play with the sequence. He can perform the foll 阅读全文
posted @ 2019-05-18 21:57 yzm10 阅读(645) 评论(0) 推荐(0)
摘要: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 or 阅读全文
posted @ 2017-08-11 15:49 yzm10 阅读(340) 评论(0) 推荐(1)
摘要:确定比赛名次 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10358 Accepted Submission(s): 4046 Problem 阅读全文
posted @ 2017-07-24 16:32 yzm10 阅读(389) 评论(0) 推荐(0)
摘要:1867: 礼上往来 Description 每当节日来临,女友众多的xxx总是能从全国各地的女友那里收到各种礼物。 有礼物收到当然值得高兴,但回礼确是件麻烦的事! 无论多麻烦,总不好意思收礼而不回礼,那也不是xxx的风格。 现在,即爱面子又抠门的xxx想出了一个绝妙的好办法:他准备将各个女友送来的 阅读全文
posted @ 2017-07-18 22:34 yzm10 阅读(176) 评论(0) 推荐(0)