a = int(input())
for i in range(a):
h,w,n = map(int, input().split())
floor = 0
rn = 0
if n%h == 0:
floor = h*100
rn = n//h
else:
floor = (n%h)*100
rn = n//h+1
print(floor + rn)
'백준 풀이' 카테고리의 다른 글
백준 1193번 파이썬 (0) | 2022.08.20 |
---|---|
백준 18108번 파이썬 (0) | 2022.08.18 |
백준 10926 파이썬 (0) | 2022.08.18 |
백준 2292번 파이썬 (0) | 2022.08.18 |
백준 2292 풀이 (0) | 2022.02.02 |