Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
79386 sh25_shenpy 矩阵中每一行的最小值 C++ 通过 1 MS 260 KB 388 2026-01-03 20:43:10

Tests(5/5):


#include <bits/stdc++.h> using namespace std ; int a[30][30] ; int row , col ; int main() { cin >> row >> col ; for(int i = 1 ; i <= row ; i++ ) { double tmp ; double mintmp ; cin >> mintmp ; for(int j = 2 ; j <= col ; j++ ) { cin >> tmp ; mintmp = min(mintmp , tmp ) ; } cout << mintmp << ' ' ; } cout << endl ; return 0 ; }


测评信息: