上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: 对字符串排序#include #include #include int main(){ chara[100][20],b[20]; inti,j,n;while(scanf("%d",&n)!=EOF){for(i=0; i0){strcpy(b,a[i]);strcpy(a[i],a[i+1]);strcpy(a[i+1],b);... 阅读全文
posted @ 2011-05-22 17:01 pcoda 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 超级楼梯 http://acm.hdu.edu.cn/showproblem.php?pid=2041 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission( 阅读全文
posted @ 2011-05-22 16:17 pcoda 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: 3500份课后答案,很值得收藏,这里只介绍了一部分。 还有很多,可以去课后答案网(http://www.khdaw.com/bbs)查找。##################【公共基础课-答案】#################### 新视野大学英语读写教程答案(全)【khdaw】 http://www.khdaw.com/bbs/viewthread.php?tid=108&fromuid=1026883 概率论与数理统计教程 (茆诗松 著) 高等教育出版社 课后答案 http://www.khdaw.com/bbs/viewthread.php?tid=234&fromui 阅读全文
posted @ 2011-05-22 15:43 pcoda 阅读(791) 评论(0) 推荐(0) 编辑
摘要: sscanf() - 从一个字符串中读进与指定格式相符的数据.函数原型: Int sscanf( const char *, const char *, ...);int scanf( const char *, ...);头文件: #include说明: sscanf与scanf类似,都是用于输入的,只是后者以键盘(stdin)为输入源,前者以固定字符串为输入源。 第一个参数可以是一个... 阅读全文
posted @ 2011-05-19 20:56 pcoda 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 亲和数 http://acm.hdu.edu.cn/showproblem.php?pid=2040 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s 阅读全文
posted @ 2011-05-19 19:59 pcoda 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 密码 http://acm.hdu.edu.cn/showproblem.php?pid=2043 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s) 阅读全文
posted @ 2011-05-16 23:12 pcoda 阅读(436) 评论(0) 推荐(0) 编辑
摘要: sort函数 排序 头文件#include#include#includeusing namespace std;bool cmp1(int a,int b){return a>b;}//升序排列bool cmp2(int a,int b){return a#includeusing namespace std;bool cmp1(char a,char b){return a>b; //升... 阅读全文
posted @ 2011-05-16 21:37 pcoda 阅读(447) 评论(0) 推荐(0) 编辑
摘要: Lowest Common Multiple Plus http://acm.hdu.edu.cn/showproblem.php?pid=2028 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Ot 阅读全文
posted @ 2011-05-16 19:46 pcoda 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 改革春风吹满地 http://acm.hdu.edu.cn/showproblem.php?pid=2036 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submissi 阅读全文
posted @ 2011-05-16 00:24 pcoda 阅读(551) 评论(0) 推荐(0) 编辑
摘要: 人见人爱A-B http://acm.hdu.edu.cn/showproblem.php?pid=2034 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submissi 阅读全文
posted @ 2011-05-15 02:39 pcoda 阅读(569) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页