Submission #885996

# Submission time Handle Problem Language Result Execution time Memory
885996 2023-12-11T10:21:31 Z karimov Odd-even (IZhO11_oddeven) PyPy 3
0 / 100
27 ms 18228 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 27 ms 18228 KB Output isn't correct
2 Halted 0 ms 0 KB -