Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
5740 詹梓涵 13求n个数的最小值 C++ Wrong Answer 4 MS 256 KB 262 2024-12-14 12:56:03

Tests(1/10):


Code:

#include<iostream> // cin\cout\endl #include<algorithm> #include<limits.h> using namespace std; int main(){ int m=INT_MAX; int n; for(int i=1;i<=7;i++){ cin>>n; if(n<m) swap(n,m); } cout<<m<<endl; return 0; }


Run Info:

------Input------
6 45 90 63 79 97 67
------Answer-----
45
------Your output-----
6