Submission #337856

#TimeUsernameProblemLanguageResultExecution timeMemory
337856talant117408Odd-even (IZhO11_oddeven)Cpython 3
0 / 100
16 ms2796 KiB
import math n = input() n = float(n) print(int(n*2-float( math.floor((1.0 + math.sqrt(float(8*n-7)) )/2) )))
#Verdict Execution timeMemoryGrader output
Fetching results...