Submission #337854

#TimeUsernameProblemLanguageResultExecution timeMemory
337854talant117408Odd-even (IZhO11_oddeven)Cpython 3
0 / 100
18 ms2816 KiB
import math n = input() n = float(n) print(int(n*2-float(math.floor(math.sqrt(float(2*n))+0.5))))
#Verdict Execution timeMemoryGrader output
Fetching results...