# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
885995 | 2023-12-11T10:21:06 Z | karimov | Odd-even (IZhO11_oddeven) | C++17 | 0 ms | 0 KB |
import math n = float(input()) x = math.ceil((math.ceil(math.sqrt(8 * n + 1)) - 1) / 2) print(2*n-x)