제출 #319173

#제출 시각아이디문제언어결과실행 시간메모리
319173sofapuden홀-짝 수열 (IZhO11_oddeven)Cpython 3
컴파일 에러
0 ms0 KiB
n = int(input()) l = 0 r = n while(l < r): mid = (l+r+1)//2 cur = (mid*(mid+1))//2 if(cur > n): r = mid-1 else: l = mid if((l*(l+1))//2 != n): l+=1 print(2*n-l)

컴파일 시 표준 에러 (stderr) 메시지

Sorry: TabError: inconsistent use of tabs and spaces in indentation (oddeven.py, line 12)