[UVA][費式延伸 矩陣 D&C] 10689 - Yet another Number Sequence
Problem B
Yet another Number Sequence
Input: standard input
Output: standard output
Time Limit: 3 seconds
Let's define another number sequence, given by the following function:
f(0) = af(1) = bf(n) = f(n-1) + f(n-2), n > 1
When
a = 0 and b = 1, this seque...