제출 #337856

#제출 시각아이디문제언어결과실행 시간메모리
337856talant117408홀-짝 수열 (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...