Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
5941 吴承熹 13求n个数的最小值 C++ Accepted 0 MS 268 KB 249 2024-12-21 10:22:43

Tests(10/10):


Code:

#include<iostream> #include<algorithm> using namespace std; int main(){ int _max,a; int temp; cin>>a; for(int i=1;i<=a;i++){ cin>>temp; if(temp<_max) _max=temp; } cout<<_max<<endl; return 0; }