HDOJ 2817 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.

,我知道我不是一个很好的记录者,但我比任何人都喜欢回首自己来时的路,

HDOJ 2817 A sequence of numbers【快速幂取模】

相关文章:

你感兴趣的文章:

标签云: