- 博客(10)
- 收藏
- 关注
原创 HDU--ACMSteps--Fibonacci
Title:Fibonacci Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 2007年到来了。经过2006年一年的修炼,数学神童zouyu终于把0到100000000的Fibonacci数列 (f[0]=0,f[1]=1;f[i] = f[i...
2019-08-20 11:16:09
200
原创 HDU--ACMSteps--Leftmost Digit
Title:Leftmost Digit Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description Given a positive integer N, you should output the leftmost digit of N^N. Input...
2019-08-19 15:00:35
205
原创 HDU--ACMSteps--The area
Title:The area Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description As we all know the Train Problem I, the boss of the Ignatius Train Station want to k...
2019-08-19 11:06:14
201
原创 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
291
原创 HDU--ACMSteps--又见GCD
Title:又见GCD Time 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
212
原创 HDU--ACMSteps--Cake
Title:Cake Time 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
206
原创 HDU--ACMSteps--How many prime numbers
Title:How many prime numbers Problem Description Give you a lot of positive integers, just to find out how many prime numbers there are. Input There are a lot of cases. In each case, there is an integ...
2019-08-17 09:57:23
244
原创 HDU--ACMSteps--Who's in the Middle
Title:Who’s in the Middle Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description FJ is surveying his herd to find the most average cow. He wants to know h...
2019-08-16 12:01:37
241
1
原创 HDU--ACMSteps--Rank
Title: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 ma...
2019-08-16 11:14:58
202
原创 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): 1766 Problem Description 时间:5008...
2019-08-15 14:20:19
181
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅