#include #include using namespace std;int main(void) { // C++ Init ios::sync_with_stdio(false); cin.tie(NULL); int input; cin >> input; int height, width, man; int pos1, pos2; string room; for (int i = 0; i > height >> width >> man; pos1 = 1; pos2 = 1; for (int j = 1; j height) { pos2++; pos1 = 1; } else pos1++; } if (to_string(pos2).length() == 1) room = to_string(pos1) + "0" ..