#include <iostream>
#include <cmath>
const int MAX = 105;
int arr[MAX][MAX];
int main()
{
int n, m, res = 0;
std::cin >> n >> m;
for (int i = 0; i != n; ++i)
{
int max = 0x3f3f3f3f;
for (int j = 0; j != m; ++j)
{
std::cin >> arr[i][j];
max = std::min(max, arr[i][j]);
}
res = std::max(max, res);
//std::cout << res << std::endl;
}
std::cout << res << std::endl;
return 0;
}
CF Dinner with Emma 616B
最新推荐文章于 2021-12-31 14:17:48 发布