水题
文章平均质量分 75
liluoyu_1016
这个作者很懒,什么都没留下…
展开
-
hdu 2030 汉字统计
汉字统计Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 46945 Accepted Submission(s): 25520Problem Description统计给定文本文件中汉字的个数。 I原创 2017-07-19 17:53:27 · 173 阅读 · 0 评论 -
hdu 2099
Problem Description一个整数,只知道前几位,不知道末二位,被另一个整数除尽了,那么该数的末二位该是什么呢? Input输入数据有若干组,每组数据包含二个整数a,b(0 Output对应每组数据,将满足条件的所有尾数在一行内输出,格式见样本输出。同组数据的输出,其每个尾数之间空一格,行末没有空格。 Sample Input20原创 2017-07-24 20:59:57 · 273 阅读 · 0 评论 -
hdu 2098
#include#includeusing namespace std;const int M=10090;int a[M];int main(){ memset(a,0,sizeof(a)); a[1]=1; for(int i=2;i<M;i++) { for(int j=2*i;j<M;j+=i) a[j]=1;原创 2017-07-24 21:33:58 · 171 阅读 · 0 评论 -
6023 Automatic Judge
Automatic JudgeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1609 Accepted Submission(s): 612Problem DescriptionWelcome to HD原创 2017-09-05 17:39:45 · 248 阅读 · 0 评论 -
B - Ignatius and the Princess IV HDU - 1029 暴力求解
"OK, you are not too bad, em... But you can never pass the next test." feng5166 says."I will tell you an odd number N, and then N integers. There will be a special integer among them, you have t原创 2017-12-01 16:24:23 · 163 阅读 · 0 评论 -
L1-039. 古风排版
中国的古人写文字,是从右向左竖向排版的。本题就请你编写程序,把一段文字按古风排版。输入格式:输入在第一行给出一个正整数N(输出格式:按古风格式排版给定的字符串,每列N个字符(除了最后一列可能不足N个)输入样例:4This is a test case输出样例:asa Tst ihe tsi ce s注意字符串结尾‘\0’,与空格不同原创 2018-03-06 20:50:02 · 120 阅读 · 0 评论 -
codeforces 939 A Love Triangle
As you could know there are no male planes nor female planes. However, each plane on Earth likes some other plane. There aren planes on Earth, numbered from 1 to n, and the plane with number i l原创 2018-03-10 17:27:02 · 147 阅读 · 0 评论