Submission #885998

# Submission time Handle Problem Language Result Execution time Memory
885998 2023-12-11T10:23:01 Z karimov Odd-even (IZhO11_oddeven) Python 3
0 / 100
10 ms 2908 KB
import math
n = float(input())
x = math.ceil((math.ceil(math.sqrt(8 * n + 1)) - 1) / 2)
print(2*n-x)
# Verdict Execution time Memory Grader output
1 Incorrect 10 ms 2908 KB Output isn't correct
2 Halted 0 ms 0 KB -