제출 #337855

#제출 시각아이디문제언어결과실행 시간메모리
337855talant117408홀-짝 수열 (IZhO11_oddeven)Cpython 2
0 / 100
15 ms3072 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...