#include <bits/stdc++.h> using namespace std; int main(void) { int t; cin >> t; while (t--) { int h, w, n; cin >> h >> w >> n; cout << 100 * ((n - 1) % h + 1) + (n - 1) / h + 1 << "\n"; } }
댓글
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.