摘要: RT,a56爆大奖在线娱乐就不解释了,题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2602。 初学01背包的人可以做做#include#include#include#include#define maxn 1005using n... 阅读全文
posted @ 2014-04-27 21:37 MrYu4 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 快速排序 #include int a[101],n;//定义全局变量,这两个变量需要在子函数中使用void quicksort(int left,int right){ int i,j,t,temp; if(left>right) ... 阅读全文
posted @ 2014-04-27 18:27 MrYu4 阅读(16) 评论(0) 推荐(0) 编辑