Life is short, so we need program

每日一题, 积累从点滴开始

  :: 首页 :: 博问 :: 闪存 :: :: 联系 :: :: 管理 ::

2012年8月12日

摘要: 做题地址: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 阅读全文
posted @ 2012-08-12 19:44 CDU_ICPC 阅读(224) 评论(0) 推荐(0) 编辑