본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 24603번 Scaling Recipe

by 현장 2023. 3. 30.

-Code

n, x, y = map(int, input().split())

for _ in range(n):
    n = int(input())

    print(int((n / x) * y))