Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76574 揭伟琦 13求n个数的最小值 C++ Accepted 1 MS 272 KB 194 2024-06-02 15:20:47

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,tzz,mx=2e9; cin >>n; for(int i=1;i<=n;i++){ cin >>tzz; if(tzz<mx){ mx=tzz; } } cout <<mx; return 0; }