# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
337856 | talant117408 | Odd-even (IZhO11_oddeven) | Cpython 3 | 16 ms | 2796 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 = input()
n = float(n)
print(int(n*2-float( math.floor((1.0 + math.sqrt(float(8*n-7)) )/2) )))
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |