Submission #886292

#TimeUsernameProblemLanguageResultExecution timeMemory
886292ZeroOdd-even (IZhO11_oddeven)Pypy 3
0 / 100
35 ms18384 KiB
import math n=int(input()) print(2*n - math.floor((1+ math.sqrt(8*n-7))/2 ))
#Verdict Execution timeMemoryGrader output
Fetching results...