BOJ - 2845 - 파티가 끝나고 난 뒤

Updated:

def solution():
    a, b = map(int, input().split())
    people = list(map(int, input().split()))
    party = a * b
    for i in people:
        print(i - party, end=' ')
solution()

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

Categories:

Updated:

Leave a comment