
数学
coldfresh
那我们开始吧
展开
-
physics HDU - 5826(数学)
There are n balls on a smooth horizontal straight track. The track can be considered to be a number line. The balls can be considered to be particles with the same mass.At the beginning, ball i is at p原创 2017-09-17 23:56:16 · 279 阅读 · 0 评论 -
A Cubic number and A Cubic Number HDU - 6216 (数学)
A cubic number is the result of using a whole number in a multiplication three times. For example, 3×3×3=27so 27 is a cubic number. The first few cubic numbers are 1,8,27,64 and 125. Given an prime num原创 2017-09-17 23:27:26 · 361 阅读 · 0 评论 -
Josephus again HDU - 3089 (约瑟夫环问题)
In our Jesephus game, we start with n people numbered 1 to n around a circle, and we eliminated every k remaining person until only one survives. For example, here’s the starting configuration for n =原创 2017-10-23 20:18:11 · 559 阅读 · 3 评论 -
Candy HDU - 4465 (数学)(概率期望)
LazyChild is a lazy child who likes candy very much. Despite being very young, he has two large candy boxes, each contains n candies initially. Everyday he chooses one box and open it. He chooses the f原创 2017-11-05 22:48:41 · 415 阅读 · 0 评论 -
What day is that day? ZOJ - 3785 (数学)(二项式)(等比数列求和)
It’s Saturday today, what day is it after 11+22+33+...+NN11+22+33+...+NN1^1 + 2^2 + 3^3 + ... + N^N days? Input There are multiple test cases. The first line of input contains an integer T indicatin...原创 2018-04-26 16:04:48 · 353 阅读 · 0 评论 -
Law of Commutation HDU - 6189(推导)
As we all know, operation ”+” complies with the commutative law. That is, if we arbitrarily select two integers a and b, a+b always equals to b+a. However, as for exponentiation, such law may be wrong...原创 2018-07-14 20:37:08 · 295 阅读 · 0 评论