![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
水题
文章平均质量分 73
笑着走完自己的路
这个作者很懒,什么都没留下…
展开
-
nyoj 96 n-1位数
n-1位数时间限制:3000 ms | 内存限制:65535 KB难度:1描述 已知w是一个大于10但不大于1000000的无符号整数,若w是n(n≥2)位的整数,则求出w的后n-1位的数。输入第一行为M,表示测试数据组数。接下来M行,每行包含一个测试数据。输出输出M行,每行为对应行的n-1位数(忽略前缀0)。如果除了最高位外,其余位都为原创 2015-01-05 21:03:43 · 474 阅读 · 0 评论 -
HDU2052 Picture
PictureTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 17661 Accepted Submission(s): 9084Problem DescriptionGive you the width原创 2014-12-23 09:51:32 · 453 阅读 · 0 评论 -
HDU 2091 空心三角形
空心三角形Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 27408 Accepted Submission(s): 7525Problem Description把一个字符三角形掏空,就能节省材料成本,减轻重原创 2014-12-21 08:23:19 · 499 阅读 · 0 评论 -
HDU 2016 数据的交换输出
数据的交换输出Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 62039 Accepted Submission(s): 23548Problem Description输入n(n Input原创 2014-12-21 09:41:26 · 391 阅读 · 0 评论 -
HDU 2034 人见人爱A-B
人见人爱A-BTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 48366 Accepted Submission(s): 13606Problem Description参加过上个月月赛的同学一定还记得其中原创 2014-12-23 09:29:29 · 487 阅读 · 0 评论 -
hdoj 2705 A|B?
A|B?Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13633 Accepted Submission(s): 10429Problem Description正整数A是否能被正整数B整除,不知道为什么原创 2015-01-14 14:30:07 · 390 阅读 · 0 评论 -
hdoj 2074 叠筐
叠筐Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13488 Accepted Submission(s): 3486Problem Description需要的时候,就把一个个大小差一圈的筐叠上去,使得原创 2015-02-02 13:12:35 · 626 阅读 · 0 评论 -
HDU 2099 整除的尾数
整除的尾数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 25767 Accepted Submission(s): 10849Problem Description一个整数,只知道前几位,不知道末二位,被原创 2015-01-02 18:41:18 · 443 阅读 · 0 评论 -
nyoj 399 整除个数
整除个数时间限制:3000 ms | 内存限制:65535 KB难度:1描述 1、2、3… …n这n(0<n<=1000000000)个数中有多少个数可以被正整数b整除。输入输入包含多组数据每组数据占一行,每行给出两个正整数n、b。输出输出每组数据相应的结果。样例输入2 15 310 4样例输出212水题。。。原创 2015-01-07 22:05:25 · 456 阅读 · 0 评论 -
nyoj1126 完全平方数的个数
完全平方数的个数时间限制:6500 ms | 内存限制:65535 KB难度:2描述 给定整数区间[A,B]问其中有多少个完全平方数。输入多组数据,包含两个正整数A,B 1输出每组数据输出一行包含一个整数,表示闭区间[A,B]中包含的完全平方数的个数。样例输入1 11 23 103 3样例输出112原创 2015-01-04 16:20:34 · 531 阅读 · 0 评论 -
hdoj 2107 Founding of HDU
Founding of HDUTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7175 Accepted Submission(s): 4860Problem Description经过慎重的考虑,XHD,原创 2015-01-10 22:43:56 · 457 阅读 · 0 评论 -
HDU 2053 Switch Game
Switch GameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11658 Accepted Submission(s): 7081Problem DescriptionThere are many原创 2014-12-24 21:25:29 · 415 阅读 · 0 评论 -
nyoj 57 6174问题
6174问题时间限制:1000 ms | 内存限制:65535 KB难度:2描述 假设你有一个各位数字互不相同的四位数,把所有的数字从大到小排序后得到a,从小到大后得到b,然后用a-b替换原来这个数,并且继续操作。例如,从1234出发,依次可以得到4321-1234=3087、8730-378=8352、8532-2358=6174,又回到了它自己!原创 2015-01-04 16:07:01 · 511 阅读 · 0 评论 -
hdoj 1017 A Mathematical Curiosity
A Mathematical CuriosityTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 29283 Accepted Submission(s): 9325Problem DescriptionGi原创 2015-03-14 23:13:20 · 437 阅读 · 0 评论 -
hdoj 1076 An Easy Task
An Easy TaskTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15509 Accepted Submission(s): 9904Problem DescriptionIgnatius was b原创 2015-02-14 10:01:39 · 400 阅读 · 0 评论 -
nyoj 74 小学生算术
小学生算术时间限制:3000 ms | 内存限制:65535 KB难度:1描述 很多小学生在学习加法时,发现“进位”特别容易出错。你的任务是计算两个三位数在相加时需要多少次进位。你编制的程序应当可以连续处理多组数据,直到读到两个0(这是输入结束标记)。输入输入两个正整数m,n.(m,n,都是三位数)输出输出m,n,相加时需要进位多少次。样例输入原创 2015-01-06 09:38:52 · 881 阅读 · 0 评论 -
hdoj 2701 Max Num
Max NumTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15540 Accepted Submission(s): 9659Problem DescriptionThere are some stud原创 2015-01-14 14:28:36 · 499 阅读 · 0 评论 -
hdoj 2109 Fighting for HDU
Fighting for HDUTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7442 Accepted Submission(s): 3830Problem Description在上一回,我们让你猜测原创 2015-01-11 22:14:16 · 521 阅读 · 0 评论 -
hdoj 1229 还是A+B
还是A+BTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17156 Accepted Submission(s): 8315Problem Description读入两个小于10000的正整数A和B,计算原创 2015-03-01 13:42:20 · 404 阅读 · 0 评论 -
hdoj 1859 最小长方形
最小长方形Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8025 Accepted Submission(s): 4366Problem Description给定一系列2维平面点的坐标(x, y),其中原创 2015-03-19 12:52:25 · 425 阅读 · 0 评论 -
hdoj 2083 简易版之最短距离
简易版之最短距离Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13006 Accepted Submission(s): 5788Problem Description寒假的时候,ACBOY要去拜访很多朋原创 2015-03-19 20:11:56 · 467 阅读 · 0 评论 -
hdoj 1564 Play a game
Play a gameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1674 Accepted Submission(s): 1350Problem DescriptionNew Year is Comi原创 2015-03-26 19:07:18 · 424 阅读 · 0 评论 -
nyoj 169 素数
素数时间限制:3000 ms | 内存限制:65535 KB难度:1描述 走进世博园某信息通信馆,参观者将获得前所未有的尖端互动体验,一场充满创想和喜悦的信息通信互动体验秀将以全新形式呈现,从观众踏入展馆的第一步起,就将与手持终端密不可分,人类未来梦想的惊喜从参观者的掌上展开。在等候区的梦想花园中,参观者便开始了他们奇妙的体验之旅,等待中的游客可利原创 2015-03-17 14:42:53 · 501 阅读 · 0 评论 -
hdoj 1012 u Calculate e
u Calculate eTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33431 Accepted Submission(s): 15083Problem DescriptionA simple mat原创 2015-03-09 22:22:07 · 391 阅读 · 0 评论 -
hdoj 2568 前进
前进Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4795 Accepted Submission(s): 3742Problem Description轻松通过墓碑,进入古墓后,才发现里面别有洞天。原创 2015-03-11 22:10:40 · 577 阅读 · 0 评论 -
hdoj 1235 统计同成绩学生人数
统计同成绩学生人数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15120 Accepted Submission(s): 8817Problem Description读入N名学生的成绩,将获得某一给定原创 2015-03-29 20:49:02 · 447 阅读 · 0 评论 -
hdoj 1029 Ignatius and the Princess IV
Ignatius and the Princess IVTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32767 K (Java/Others)Total Submission(s): 19345 Accepted Submission(s): 7843Problem Description原创 2015-03-29 20:50:38 · 397 阅读 · 0 评论 -
nyoj 75 日期计算
日期计算时间限制:3000 ms | 内存限制:65535 KB难度:1描述 如题,输入一个日期,格式如:2010 10 24 ,判断这一天是这一年中的第几天。输入第一行输入一个数N(0输出每组输入数据的输出占一行,输出判断出的天数n样例输入32000 4 52001 5 42010 10 24样例输出96124297原创 2015-03-14 13:07:16 · 346 阅读 · 0 评论 -
hdoj 2503 a/b + c/d
a/b + c/dTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9692 Accepted Submission(s): 5459Problem Description给你2个分数,求他们的和,并要求和为原创 2015-03-31 16:34:00 · 404 阅读 · 0 评论 -
hdoj 1196 Lowest Bit
Lowest BitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9076 Accepted Submission(s): 6677Problem DescriptionGiven an positive原创 2015-04-04 19:49:47 · 459 阅读 · 0 评论 -
hdoj 1977 Consecutive sum II
Consecutive sum IITime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2443 Accepted Submission(s): 1177Problem DescriptionConsecuti原创 2015-04-06 18:30:02 · 423 阅读 · 0 评论 -
hdoj 1898 Sempr == The Best Problem Solver?
Sempr == The Best Problem Solver?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1432 Accepted Submission(s): 938Problem Descript原创 2015-04-06 18:28:49 · 493 阅读 · 0 评论 -
HDU 2060 Snooker
SnookerTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7230 Accepted Submission(s): 3094Problem Descriptionbackground: Phil原创 2014-12-30 18:36:20 · 419 阅读 · 0 评论 -
nyoj 111 分数加减法
分数加减法时间限制:3000 ms | 内存限制:65535 KB难度:2描述 编写一个C程序,实现两个分数的加减法输入输入包含多行数据 每行数据是一个字符串,格式是"a/boc/d"。 其中a, b, c, d是一个0-9的整数。o是运算符"+"或者"-"。 数据以EOF结束 输入数据保证合法输出对于输入数据的每一行输出两个原创 2015-01-07 00:19:10 · 540 阅读 · 0 评论 -
nyoj 62 笨小熊
笨小熊时间限制:2000 ms | 内存限制:65535 KB难度:2描述 笨小熊的词汇量很小,所以每次做英语选择题的时候都很头疼。但是他找到了一种方法,经试验证明,用这种方法去选择选项的时候选对的几率非常大! 这种方法的具体描述如下:假设maxn是单词中出现次数最多的字母的出现次数,minn是单词中出现次数最少的字母的出现次数,如果maxn-mi原创 2015-04-09 18:50:42 · 517 阅读 · 0 评论 -
hdoj 1861 游船出租
游船出租Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7730 Accepted Submission(s): 2564Problem Description现有公园游船租赁处请你编写一个租船管理系统。当原创 2015-04-24 22:41:11 · 597 阅读 · 0 评论 -
zoj 3876 May Day Holiday
May Day HolidayTime Limit: 2 Seconds Memory Limit: 65536 KB As a university advocating self-learning and work-rest balance, Marjar University has so many days of rest, including holiday原创 2015-04-26 09:42:05 · 424 阅读 · 0 评论 -
zoj 3878 Convert QWERTY to Dvorak
Convert QWERTY to DvorakTime Limit: 2 Seconds Memory Limit: 65536 KB Edward, a poor copy typist, is a user of the Dvorak Layout. But now he has only a QWERTY Keyboard with a brokenCap原创 2015-04-26 10:59:12 · 717 阅读 · 0 评论 -
zoj 3869 Ace of Aces
Ace of AcesTime Limit: 2 Seconds Memory Limit: 65536 KB There is a mysterious organization called Time-Space Administrative Bureau (TSAB) in the deep universe that we humans have not di原创 2015-04-25 22:06:02 · 543 阅读 · 0 评论 -
zoj 3880 Demacia of the Ancients
Demacia of the AncientsTime Limit: 2 Seconds Memory Limit: 65536 KB There is a popular multiplayer online battle arena game called Demacia of the Ancients. There are lots of professiona原创 2015-04-25 22:20:49 · 528 阅读 · 0 评论