#include <iostream>
void f(unsigned int row_number, unsigned int col_number, int** array)
{
for (unsigned int i = 0; i < row_number; ++i)
{
int max = array[i][0];
for (unsigned int j = 1; j < col_number; ++j)
if (max < array[i][j])
max = array[i][j];
std::cout << max << '\n';
}
}
int main()
{
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdm9pZCBmKHVuc2lnbmVkIGludCByb3dfbnVtYmVyLCB1bnNpZ25lZCBpbnQgY29sX251bWJlciwgaW50KiogYXJyYXkpCnsKCWZvciAodW5zaWduZWQgaW50IGkgPSAwOyBpIDwgcm93X251bWJlcjsgKytpKQoJewoJCWludCBtYXggPSBhcnJheVtpXVswXTsKCQkKCQlmb3IgKHVuc2lnbmVkIGludCBqID0gMTsgaiA8IGNvbF9udW1iZXI7ICsraikKCQkJaWYgKG1heCA8IGFycmF5W2ldW2pdKQoJCQkJbWF4ID0gYXJyYXlbaV1bal07CgkJCgkJc3RkOjpjb3V0IDw8IG1heCA8PCAnXG4nOwoJfQp9CgppbnQgbWFpbigpCnsKCXJldHVybiAwOwp9