HDU 2187 A sequence of numbers【快速幂】

The first line contains an integer N, indicting that there are N sequences. Each of the following N lines contain four integers. The first three indicating the first three numbers of the sequence, and the last one is K, indicating that we want to know the K-th numbers of the sequence.You can assume 0 < K <= 10^9, and the other three numbers are in the range [0, 2^63). All the numbers of the sequences are integers. And the sequences are non-decreasing.

,如果我们想要更多的玫瑰花,就必须种植更多的玫瑰树。

HDU 2187 A sequence of numbers【快速幂】

相关文章:

你感兴趣的文章:

标签云: