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

Tests(0/10):


Code:

#include <iostream> using namespace std; int main(){ int i,n,x,min=1000; 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-----
1000