题号:NC239489 时间限制:C/C++/Rust/Pascal 2秒,其他语言4秒 空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M Special Judge, 64bit IO Format: %lld
题目描述
Ranran has a sequence of integers which satisfies and he is very proud of it, so he comes up with a problem for you.
You need to find out a sequence of integers . With , you construct an infinite sequence , and equals to . must satisfy the condition that in every consecutive numbers of there exists a number equals to .
Please note that is 1-indexed and are 0-indexed. The value of is decided by you.