提交时间:2026-03-11 19:47:39
运行 ID: 431751
#include<iostream> using namespace std; int main(){ int n,c;cin>>n>>c; for(int i=0;i<n;i++){ int mx=0;int x; for(int j=0;j<c;j++){ cin>>x;if(x>mx)mx=x; } cout<<mx<<endl; } return 0; }