# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
337854 | talant117408 | Odd-even (IZhO11_oddeven) | Cpython 3 | 18 ms | 2816 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(math.sqrt(float(2*n))+0.5))))
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |