10250번1 [백준 알고리즘] 10250번 Python 문제 정보 제출 코드 import math count = int(input()) for i in range(count): h, w, n = map(int, input().split()) a = math.ceil(n/h) b = n%h if(b!=0): print(str(b),end="") else: print(str(h),end="") if(a==0): print("{:0>2}".format(1)) else: print("{:0>2}".format(a)) 2021. 10. 4. 이전 1 다음