摘要:
做题地址:http://acm.hdu.edu.cn/diy/contest_login.php?cid=16636Problem A: HDU1040排序题,可以直接使用c++提供的排序,如果是JAVA,也可以使用自带的排序方法。C语言需要自己写排序算法。#include<cstdio>#include<iostream>#include<algorithm>using namespace std;int sequence[1005];int t,n;int main(){ while(scanf("%d",&t)==1){ w 阅读全文