백준 1271번: 엄청난 부자2

danbibibi·2021년 9월 9일

문제

문제 바로가기> 백준 1271번: 엄청난 부자2

풀이

파이썬은 큰 수 연산을 지원하기 때문에, 별다른 처리가 필요하지 않다.

n, m = map(int, input().split())
print(n//m)
print(n%m)
profile
블로그 이전) https://danbibibi.tistory.com

0개의 댓글