# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1109826 | Kirill22 | Odd-even (IZhO11_oddeven) | Pypy 3 | 38 ms | 18364 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
import math
n = int(input())
print(2 * n - math.floor((1 + math.sqrt(8 * n - 7)) / 2))
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |