![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HDOJ
CinKateRen
好好学习,天天向上,always learn from the best!
展开
-
HDOJ-1019(Java)
Q:The least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the numbers in the set. For example, the LCM of 5, 7 and 15 is 105.Input:...原创 2018-03-30 16:45:10 · 176 阅读 · 0 评论 -
HDOJ-1005(Java)
Q:A number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calculate the value of f(n).Input:The input consist...原创 2018-03-29 15:09:10 · 348 阅读 · 0 评论