摘要: 模板部分(想背的就背一下吧,但是不建议……毕竟排序用sort函数就行了,这些排序的算法只是为了锻炼你的思维逻辑能力罢了): 1.选择排序 #include<cstdio> #define N 100000+100 int a[N],n; int main() { scanf("%d",&n); fo 阅读全文
posted @ 2016-06-06 21:04 月沫 阅读(636) 评论(0) 推荐(0) 编辑