https://www.acmicpc.net/problem/10250
#include <stdio.h>
#include <algorithm>
#include <math.h>
#include <string.h>
using namespace std;
int main() {
int T;
scanf("%d", &T);
for (int i = 0; i < T; i++) {
int h, w, n;
scanf("%d %d %d", &h, &w, &n);
int result;
if(n % h != 0)
result = (n%h) * 100 + n / h + 1;
else {
result = h * 100 + n / h;
}
printf("%d\n", result);
}
return 0;
}