Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5940 | 吴承熹 | 13求n个数的最小值 | C++ | Wrong Answer | 0 MS | 268 KB | 251 | 2024-12-21 10:21:44 |
#include<iostream> #include<algorithm> using namespace std; int main(){ int _max=0,a; int temp; cin>>a; for(int i=1;i<=a;i++){ cin>>temp; if(temp<_max) _max=temp; } cout<<_max<<endl; return 0; }
------Input------
18 52 55 68 17 13 20 92 54 42 58 26 84 41 16 14 61 47 91
------Answer-----
13
------Your output-----
0