# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1109831 | 2024-11-07T17:39:39 Z | Kirill22 | Odd-even (IZhO11_oddeven) | PyPy 3 | 36 ms | 18224 KB |
import math n = int(input()) l = 0 r = 8 * n while l + 1 < r: m = (l + r) // 2 if m * (m + 1) / 2 <= n: l = m else: r = m print(2 * n - l - 1)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 36 ms | 18224 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |