본문 바로가기

Programming [Python]/백준 알고리즘 솔루션

#337 백준 파이썬 [1075] 나누기

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

 

PYTHON CODE

N = int(input())
F = int(input())
front = N // 100
answer = front * 100

while answer % F != 0:
    answer += 1
print(str(answer)[-2:])