11005

4일차(1/9) https://www.acmicpc.net/problem/11005 꽤 까다로웠다. n,b = map(int,input().split())ans=''while n!=0: remainder= n%b if remainder>=10: buf = chr(remainder - 10 + ord('A')) else: buf =str(remainder) ans = buf + ans n//=bprint(ans) https://www.acmicpc.net/problem/3062 N=int(input())for _ in range(N): num= int(input()) num_reverse = int(str(num)[::-1]) ans= n..
계란소년
'11005' 태그의 글 목록
상단으로