Agorithm/백준 알고리즘

백준 알고리즘 11134번 쿠키애호가(python)

kimjinho1 2021. 3. 2. 00:58
728x90
반응형

단순 사칙연산 문제이다.

for _ in range(int(input())):
    n, c = map(int, input().split())
    print(n//c + (1 if n%c else 0))
728x90
반응형