[백준] 1075번 : 나누기 - Python(파이썬)

강재원·2022년 10월 6일
0

[코딩테스트] Python

목록 보기
104/200



https://www.acmicpc.net/problem/1075

n=input()
f=input()
n=int(n)
f=int(f)
a=n%100
b=n-a
c=b%f
if c==0:
    print("00")
else:
    print("%02d" % ((f-c)%100))
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글