最新 最热

HDOJ 1236 排名(练耐心题)

Problem Description 今天的上机考试虽然有实时的Ranklist,但上面的排名只是根据完成的题数排序,没有考虑 每题的分值,所以并不是最后的排名。给定录取分数线,请你写程序找出最后通过分数线的 考生,并将他们的成绩按降...

2021-01-21
1

HDOJ 1202 The calculation of GPA

Problem Description 每学期的期末,大家都会忙于计算自己的平均成绩,这个成绩对于评奖学金是直接有关的。国外大学都是计算GPA(grade point average) 又称GPR(grade point ratio),即成绩点数与学分的加权平均值来代表一...

2021-01-21
1

HDOJ 1196 Lowest Bit(二进制相关的简单题)

Problem Description Given an positive integer A (1 <= A <= 100), output the lowest bit of A.

2021-01-21
1

HDOJ 1164 Eddy's research I(拆分成素数因子)

Problem Description Eddy’s interest is very extensive, recently he is interested in prime number. Eddy discover the all number owned can be divided into the m...

2021-01-21
1

HDOJ 1163 Eddy's digital Roots(九余数定理的应用)

Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that d...

2021-01-21
1

HDOJ 1076 An Easy Task(闰年计算)

Problem Description Ignatius was born in a leap year, so he want to know when he could hold his bi

2021-01-21
1

HDOJ 1061 Rightmost Digit(循环问题)

Problem Description Given a positive integer N, you should output the most right digit of N^N.

2021-01-21
1

HDOJ 1058 Humble Numbers(打表过)

Problem Description A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18...

2021-01-21
1

HDOJ 1028 Ignatius and the Princess III(递推)

Problem Description “Well, it seems the first problem is too easy. I will let you know how foolish you are later.” feng5166 says.

2021-01-21
1

HDOJ 2114 Calculate S(n)(找周期)

Input Each line will contain one integer N(1 < n < 1000000000). Process to end of file.

2021-01-21
1