Submission #885998

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