제출 #319150

#제출 시각아이디문제언어결과실행 시간메모리
319150sofapuden홀-짝 수열 (IZhO11_oddeven)Cpython 3
0 / 100
2085 ms2924 KiB
n = int(input())

x = 1
y = 1
while(y < n):
	x+=1
	y+=x
print(2*n-x)
#Verdict Execution timeMemoryGrader output
Fetching results...