https://www.acmicpc.net/problem/10250
T = int(input())
for i in range(T):
H, W, N = map(int, input().split())
height = N % H
width = N // H + 1
if height == 0:
width = N // H
height = H
print(f'{height*100+width}')
'Python > Baekjoon' 카테고리의 다른 글
백준 2839번 : 설탕 배달 (0) | 2022.10.13 |
---|---|
백준 2775번 : 부녀회장이 될테야 (0) | 2022.10.13 |
백준 2869번 : 달팽이는 올라가고 싶다 (0) | 2022.10.11 |
백준 1193번 : 분수찾기 (0) | 2022.10.11 |
백준 2292번 : 벌집 (1) | 2022.10.07 |