- 博客(10)
- 收藏
- 关注
原创 HDU--ACMSteps--Fibonacci
Title:FibonacciTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description2007年到来了。经过2006年一年的修炼,数学神童zouyu终于把0到100000000的Fibonacci数列(f[0]=0,f[1]=1;f[i] = f[i...
2019-08-20 11:16:09 150
原创 HDU--ACMSteps--Leftmost Digit
Title:Leftmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionGiven a positive integer N, you should output the leftmost digit of N^N.Input...
2019-08-19 15:00:35 160
原创 HDU--ACMSteps--The area
Title:The areaTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionAs we all know the Train Problem I, the boss of the Ignatius Train Station want to k...
2019-08-19 11:06:14 144
原创 HDU--ACMSteps--七夕节
Title:七夕节Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem Description七夕节那天,月老来到数字王国,他在城门上贴了一张告示,并且和数字王国的人们说:“你们想知道你们的另一半是谁吗?那就按照告示上的方法去找吧!”人们纷纷来到告示前,都想知道谁才是自...
2019-08-18 10:16:57 239
原创 HDU--ACMSteps--又见GCD
Title:又见GCDTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description有三个正整数a,b,c(0<a,b,c<10^6),其中c不等于b。若a和c的最大公约数为b,现已知a和b,求满足条件的最小的c。Input第一行输入一个n,...
2019-08-18 09:30:54 152
原创 HDU--ACMSteps--Cake
Title:CakeTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description一次生日Party可能有p人或者q人参加,现准备有一个大蛋糕.问最少要将蛋糕切成多少块(每块大小不一定相等),才能使p人或者q人出席的任何一种情况,都能平均将蛋糕分食.Inp...
2019-08-17 11:31:26 161
原创 HDU--ACMSteps--How many prime numbers
Title:How many prime numbersProblem DescriptionGive you a lot of positive integers, just to find out how many prime numbers there are.InputThere are a lot of cases. In each case, there is an integ...
2019-08-17 09:57:23 198
原创 HDU--ACMSteps--Who's in the Middle
Title:Who’s in the MiddleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionFJ is surveying his herd to find the most average cow. He wants to know h...
2019-08-16 12:01:37 187 1
原创 HDU--ACMSteps--Rank
Title:RankProblem DescriptionJackson 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 ma...
2019-08-16 11:14:58 149
原创 HDU——ACMsteps——悼念512汶川大地震遇难同胞——老人是真饿了
HDU——ACMsteps——悼念512汶川大地震遇难同胞——老人是真饿了Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4447Accepted Submission(s): 1766Problem Description时间:5008...
2019-08-15 14:20:19 142
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人