제출 #885999

#제출 시각아이디문제언어결과실행 시간메모리
885999karimov홀-짝 수열 (IZhO11_oddeven)Cpython 3
0 / 100
10 ms2956 KiB
import math n = float(input()) x = math.ceil((math.ceil(math.sqrt(8 * n + 1)) - 1) / 2) print(int(2*n-x))
#Verdict Execution timeMemoryGrader output
Fetching results...