Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94557 张新福 13求n个数的最小值 C++ Wrong Answer 0 MS 272 KB 169 2024-10-24 16:19:39

Tests(0/10):


Code:

#include <iostream> using namespace std; int main(){ int i,n,x,min=10; cin>>n; for(i=1;i<=n;i++){ cin>>x; if(x<min){ min==x; } } cout<<min; }


Run Info:

------Input------
8 74 34 87 21 47 95 59 99
------Answer-----
21
------Your output-----
10