摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1548A strange liftDescriptionThere is a strange lift.The lift can stop can at every floor as you want, a... 阅读全文
posted @ 2015-06-26 19:27 GadyPu 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1872稳定排序Description大家都知道,快速排序是不稳定的排序方法。如果对于数组中出现的任意a[i],a[j](i_ 2 #include 3 #include 4 #include 5 #incl... 阅读全文
posted @ 2015-06-26 19:11 GadyPu 阅读(240) 评论(0) 推荐(0) 编辑