Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4364 | 黄言岐 | 13求n个数的最小值 | C++ | Wrong Answer | 0 MS | 252 KB | 231 | 2024-08-16 16:15:16 |
#include<iostream> #include<climits> using namespace std; int main(){ int m=INT_MAX; int t,n; cin>>n; for(int i=1;i<=7;i++){ cin>>t; if(t<m) m=t; } cout<<m<<endl; return 0; }
------Input------
17 96 18 45 60 38 30 48 48 87 35 67 22 55 16 32 35 97
------Answer-----
16
------Your output-----
18