728x90
반응형

solved.ac Bronze lV 시작

int 함수를 통해 8진수를 10진수로 바꾼 후에 bin 함수를 사용해 2진수로 바꿔주면 된다.

print(bin(int(input(), 8))[2:])
728x90
반응형

+ Recent posts