Submission #886000

#TimeUsernameProblemLanguageResultExecution timeMemory
886000karimovOdd-even (IZhO11_oddeven)Cpython 3
0 / 100
15 ms2936 KiB
import math n = float(input()) x = math.ceil((math.sqrt(8 * n + 1) - 1) / 2) print(int(2*n-x))
#Verdict Execution timeMemoryGrader output
Fetching results...