백준 10250 파이썬

김덕현·2021년 7월 16일
1

BAEKJOON

목록 보기
55/62

1.문제

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

2.코드

import sys
t=int(input())
for i in range(t):
    h,w,n=map(int,sys.stdin.readline().split())
    if n%h==0 :
        print(h*100+n//h)
    else : print(n%h*100+(n//h+1))

3.코드해설

profile
BAEKJOON STUDYING

0개의 댓글