[백준/Python] 10250번 ACM 호텔

divele·2023년 9월 21일

백준

목록 보기
12/17


정답

for _ in range(int(input())):
    a,b,c = map(int, input().split())
    print((a*100)+(c//a) if c%a==0 else (c%a*100)+(c//a+1))
profile
https://solved.ac/profile/divele

0개의 댓글