摘要:
Problem Description 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 阅读全文
posted @ 2016-02-02 18:19
♕Heart-broken
阅读(150)
评论(0)
推荐(1)
摘要:
Problem Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is gues 阅读全文
posted @ 2016-02-02 18:10
♕Heart-broken
阅读(151)
评论(0)
推荐(0)
摘要:
Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line 阅读全文
posted @ 2016-02-02 18:01
♕Heart-broken
阅读(188)
评论(0)
推荐(0)
摘要:
Problem Description Computer simulations often require random numbers. One way to generate pseudo-random numbers is via a function of the formseed(x+1 阅读全文
posted @ 2016-02-02 17:50
♕Heart-broken
阅读(205)
评论(0)
推荐(0)
摘要:
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 th 阅读全文
posted @ 2016-02-02 16:06
♕Heart-broken
阅读(157)
评论(0)
推荐(0)
浙公网安备 33010602011771号