
ACM-HDU
文章平均质量分 67
RickyWong_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU 2.1.7 整数对
整数对 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2457 Accepted Submission(s): 954 Problem Description Gardon和小希玩了一个游原创 2014-11-07 19:35:51 · 646 阅读 · 0 评论 -
HDU 1.2.4 decimal system
decimal system Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3508 Accepted Submission(s): 1364 Problem Description As原创 2014-11-06 16:04:21 · 606 阅读 · 0 评论 -
HDU 1.1.1 A+B for Input-Output Practice (I)
Problem Description Your task is to Calculate a + b. Too easy?! Of course! I specially designed the problem for acm beginners. You must have found that some problems have the same titles with this原创 2014-11-06 15:48:00 · 891 阅读 · 0 评论 -
HDU 1.3.8 As Easy As A+B
As Easy As A+B Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2553 Accepted Submission(s): 1235 Problem Description Th原创 2014-11-06 16:27:08 · 562 阅读 · 0 评论 -
HDU 1.3.5 shǎ崽 OrOrOrOrz
shǎ崽 OrOrOrOrz Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3988 Accepted Submission(s): 1236 Problem Description Ac原创 2014-11-06 16:21:28 · 602 阅读 · 0 评论 -
HDU 1.3.3 开门人和关门人
开门人和关门人 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2676 Accepted Submission(s): 1260 Problem Description 每天第一个到机房的原创 2014-11-06 16:17:06 · 912 阅读 · 0 评论 -
HDU 1.2.8 Vowel Counting
Vowel Counting Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2509 Accepted Submission(s): 1367 Problem Description Th原创 2014-11-06 16:08:55 · 530 阅读 · 0 评论 -
HDU 1.1.3 A+B for Input-Output Practice (III)
Problem Description Your task is to Calculate a + b. Input Input contains multiple test cases. Each test case contains a pair of integers a and b, one pair of integers per line. A test c原创 2014-11-06 15:50:17 · 772 阅读 · 0 评论 -
HDU 1.2.6 Lowest Bit
Lowest Bit Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2297 Accepted Submission(s): 1588 Problem Description Given原创 2014-11-06 16:06:33 · 535 阅读 · 0 评论 -
HDU 2.1.5 七夕节
七夕节 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4066 Accepted Submission(s): 1438 Problem Description 七夕节那天,月老来到数字王原创 2014-11-06 21:10:41 · 785 阅读 · 0 评论 -
HDU 2.1.7 Leftmost Digit
Problem Description Given a positive integer N, you should output the leftmost digit of N^N. Input The input contains several test cases. The first line of the input is a single intege原创 2015-04-21 18:04:23 · 642 阅读 · 0 评论 -
HDU 2.1.8 小数化分数2
Problem Description Ray 在数学课上听老师说,任何小数都能表示成分数的形式,他开始了化了起来,很快他就完成了,但他又想到一个问题,如何把一个循环小数化成分数呢? 请你写一个程序不但可以将普通小数化成最简分数,也可以把循环小数化成最简分数。 Input 第一行是一个整数N,表示有多少组数据。 每组数据只有一个纯小数,也就是整数部分为0。小数的原创 2015-04-21 18:31:56 · 900 阅读 · 0 评论 -
HDU 1.3.8 Who's in the Middle
Problem Description FJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median' cow gives: half of the cows give as much or more than the median; half give as原创 2015-04-21 17:13:01 · 723 阅读 · 0 评论 -
HDU 1.3.6 Rank
Problem Description Jackson wants to know his rank in the class. The professor has posted a list of student numbers and marks. Compute Jackson’s rank in class; that is, if he has the top mark(or is t原创 2015-04-21 16:57:42 · 554 阅读 · 0 评论 -
HDU 1.3.5 Wooden Sticks
Problem Description There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It nee原创 2015-04-21 13:02:18 · 638 阅读 · 0 评论 -
HDU 1.3.4 百步穿杨
Problem Description 时维九月,序属三秋,辽军大举进攻MCA山,战场上两军正交锋.辽军统帅是名噪一时的耶律-James,而MCA方则是派出了传统武将中草药123.双方经过协商,约定在十一月八日正午十分进行射箭对攻战.中草药123早早就开始准备,但是他是武将而不是铁匠,造弓箭的活就交给聪明能干的你了,现在告诉你每种弓箭规格,即箭身的长度,以及每种规格弓箭所需要的数目,要求你把需要原创 2015-04-21 12:16:09 · 658 阅读 · 0 评论 -
HDU 1.3.3 排名
Problem Description 今天的上机考试虽然有实时的Ranklist,但上面的排名只是根据完成的题数排序,没有考虑 每题的分值,所以并不是最后的排名。给定录取分数线,请你写程序找出最后通过分数线的 考生,并将他们的成绩按降序打印。 Input 测试输入包含若干场考试的信息。每场考试信息的第1行给出考生人数N ( 0 名考生的原创 2015-04-20 20:46:20 · 523 阅读 · 0 评论 -
HDU 2.1.3 Cake
Cake Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2586 Accepted Submission(s): 1238 Problem Description 一次生日Party可能有原创 2014-11-06 20:11:53 · 593 阅读 · 0 评论 -
HDU 2.1.4 又见GCD
又见GCD Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2573 Accepted Submission(s): 1273 Problem Description 有三个正整数a,b,c原创 2014-11-06 20:47:58 · 675 阅读 · 0 评论 -
HDU 2.1.2 How many prime numbers
How many prime numbers Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 8122 Accepted Submission(s): 2619 Problem Descrip原创 2014-11-06 19:22:20 · 515 阅读 · 0 评论 -
HDU 1.1.2 A+B for Input-Output Practice (II)
Problem Description Your task is to Calculate a + b. Input Input contains an integer N in the first line, and then N lines follow. Each line consists of a pair of integers a and b, sep原创 2014-11-06 15:49:25 · 540 阅读 · 0 评论 -
HDU 1.2.1 hide handkerchief
hide handkerchief Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4817 Accepted Submission(s): 1605 Problem Description原创 2014-11-06 16:01:05 · 528 阅读 · 0 评论 -
HDU 2.1.1 最小公倍数
最小公倍数 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3453 Accepted Submission(s): 2496 Problem Description 给定两个正整数,计算这原创 2014-11-06 18:55:47 · 673 阅读 · 0 评论 -
HDU 1.3.4 What Is Your Grade?
What Is Your Grade? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3431 Accepted Submission(s): 978 Problem Description原创 2014-11-06 16:19:52 · 634 阅读 · 0 评论 -
HDU 1.2.2 Box of Bricks
Box of Bricks Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7422 Accepted Submission(s): 1717 Problem Description Lit原创 2014-11-06 16:02:01 · 586 阅读 · 0 评论 -
HDU 1.1.7 A+B for Input-Output Practice (VII)
Problem Description Your task is to Calculate a + b. Input The input will consist of a series of pairs of integers a and b, separated by a space, one pair of integers per line.原创 2014-11-06 15:58:55 · 644 阅读 · 0 评论 -
HDU 2.1.8 The area
The area Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1305 Accepted Submission(s): 1038 Problem Description Ignatius原创 2014-11-07 21:01:32 · 722 阅读 · 0 评论 -
HDU 2.1.6 找新朋友
找新朋友 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2681 Accepted Submission(s): 1254 Problem Description 新年快到了,“猪头帮协会原创 2014-11-07 17:28:21 · 704 阅读 · 0 评论 -
HDU 1.1.4 A+B for Input-Output Practice (IV)
Problem Description Your task is to Calculate the sum of some integers. Input Input contains multiple test cases. Each test case contains a integer N, and then N integers follow in the原创 2014-11-06 15:52:27 · 517 阅读 · 0 评论 -
HDU 1.1.5 A+B for Input-Output Practice (V)
Problem Description Your task is to calculate the sum of some integers. Input Input contains an integer N in the first line, and then N lines follow. Each line starts with a integer M,原创 2014-11-06 15:56:01 · 511 阅读 · 0 评论 -
HDU 1.3.6 排序
排序 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4066 Accepted Submission(s): 1176 Problem Description 输入一行数字,如果我们把这行原创 2014-11-06 16:23:56 · 736 阅读 · 0 评论 -
HDU 1.3.2 Tian Ji -- The Horse Racing
Tian Ji -- The Horse Racing Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4215 Accepted Submission(s): 1021 Problem De原创 2014-11-06 16:11:21 · 642 阅读 · 0 评论 -
HDU 1.3.1 FatMouse' Trade
FatMouse' Trade Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4921 Accepted Submission(s): 1476 Problem Description F原创 2014-11-06 16:10:33 · 517 阅读 · 0 评论 -
HDU 1.2.7 AC Me
AC Me Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4673 Accepted Submission(s): 1632 Problem Description Ignatius is原创 2014-11-06 16:07:58 · 584 阅读 · 0 评论 -
HDU 1.2.5 IBM Minus One
IBM Minus One Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3750 Accepted Submission(s): 1449 Problem Description You原创 2014-11-06 16:06:12 · 522 阅读 · 0 评论 -
HDU 1.2.3 The Seven Percent Solution
The Seven Percent Solution Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2505 Accepted Submission(s): 1492 Problem Des原创 2014-11-06 16:03:09 · 655 阅读 · 0 评论 -
HDU 1.1.8 A+B for Input-Output Practice (VIII)
Problem Description Your task is to calculate the sum of some integers. Input Input contains an integer N in the first line, and then N lines follow. Each line starts with a integer M,原创 2014-11-06 15:59:33 · 524 阅读 · 0 评论 -
HDU 1.1.6 A+B for Input-Output Practice (VI)
Problem Description Your task is to calculate the sum of some integers. Input Input contains multiple test cases, and one case one line. Each case starts with an integer N, and then N原创 2014-11-06 15:57:45 · 446 阅读 · 0 评论 -
HDU 2.2.1 Fibonacci
Problem Description 2007年到来了。经过2006年一年的修炼,数学神童zouyu终于把0到100000000的Fibonacci数列 (f[0]=0,f[1]=1;f[i] = f[i-1]+f[i-2](i>=2))的值全部给背了下来。 接下来,CodeStar决定要考考他,于是每问他一个数字,他就要把答案说出来,不过有的数字太长了。所以规定超过4位的只要说出前4位就原创 2015-04-21 22:40:52 · 717 阅读 · 0 评论