上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 50 下一页
摘要: 小Z的A+B 小Z的A+B Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 小Z最喜欢A+B了,没事就研究研究,比如什么大整数A+B(就是1000万万亿+ 阅读全文
posted @ 2018-06-24 22:37 霜雪千年 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 整数反转 整数反转 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 给定一个32位int型的整数,把这个整数反着输出,如123,输出321。反转过程中有可 阅读全文
posted @ 2018-06-24 14:58 霜雪千年 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Power Mouth Power Mouth Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: Your task is to calculate the 阅读全文
posted @ 2018-06-24 13:42 霜雪千年 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 一道耗时间的水题 一道耗时间的水题 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: Do you know how to read the phone n 阅读全文
posted @ 2018-06-24 11:04 霜雪千年 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Problem Description: Problem Description: Input: 输入包含多组数据(EOF),每组数据第一行是一个整数n(1<=n<=10^5),第二行有n个整数(<=10^5); Input: Output: 对于每组数据,输出小明排序算法的交换次数。 Output 阅读全文
posted @ 2018-06-23 22:02 霜雪千年 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 数组 数组 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 给一个数组a[n],令s[i]为数组a中比a[i]大的数的个数。求数组s。 Problem D 阅读全文
posted @ 2018-06-23 10:40 霜雪千年 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 名字的价值 名字的价值 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 集训终于开始了,参加集训的人很多,也就有很多名字,集训组织者发现了一件很神奇的事情 阅读全文
posted @ 2018-06-23 09:40 霜雪千年 阅读(600) 评论(0) 推荐(0) 编辑
摘要: Exponentiation Exponentiation Time Limit: 2000/1000ms (Java/Others) Problem Description: Problems involving the computation of exact values of very la 阅读全文
posted @ 2018-06-22 22:53 霜雪千年 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Problem Description: Problem Description: 端午节快到了,小蛋准备到集市上买粽子。于是周六这天,小蛋和舍友搭着公交到了西南市场。说来也怪,这天集市上就只有n个人在卖粽子,整齐地排成一列,而且第i(1<=i<=n)个人前面有Xi个粽子堆在一起。小蛋这人平时很大方 阅读全文
posted @ 2018-06-22 21:03 霜雪千年 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 const int len = 20;//待排序数组元素的个数,下标从1开始 6 //1、冒泡排序 7 void Bubble_sort(int s[],int len){ 8 bool flag; 9 for(int i=1;i... 阅读全文
posted @ 2018-06-21 23:54 霜雪千年 阅读(1161) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 50 下一页