| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 2 초 (추가 시간 없음) | 1024 MB | 14 | 7 | 7 | 100.000% |
A bi-infinite sequence means a sequence that is infinite in both directions. In other words, it means a function whose domain is the set of all integers. The writer of this problem defined their bi-infinite sequence $(K_n)_{n\in\mathbb Z}$ and called it "KSA bi-infinite sequence" with a parameter $t$ where $t$ is a positive integer. It satisfies the following for all integers $n$.
Write a function biinfinite:
int-type objects whose values are $t$ and $n$, respectively, where $1\le t\le 8$ and $|n|\le10^{12}$int-type object whose value is $\lfloor K_n\rfloor-M\left\lfloor\frac{K_n}M\right\rfloor$ where $M=202112210950$ and $K_n$ is the $n$-th term of KSA bi-infinite sequence with a parameter $t$PyPy3