您的位置:首页 > 其它

CF Dinner with Emma 616B

2016-01-15 12:48 260 查看
#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;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: