# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
886292 | Zero | Odd-even (IZhO11_oddeven) | Pypy 3 | 35 ms | 18384 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... |