문제 바로가기> 백준 1271번: 엄청난 부자2
파이썬은 큰 수 연산을 지원하기 때문에, 별다른 처리가 필요하지 않다.
n, m = map(int, input().split()) print(n//m) print(n%m)