Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73685 荀逸萱 13求n个数的最小值 C++ Wrong Answer 2 MS 268 KB 453 2024-05-19 15:02:06

Tests(0/10):


Code:

# include<iostream> # include<iomanip> # include<cmath> # include<cstdio> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; for(int i=a;i<=d;i++){ if(a>b>c>d){ cout<<a<<endl; }else if(b>a>c>d){ }else if(c>a>b>d){ cout<<c<<endl; }else{ cout<<d<<endl; } } return 0; }


Run Info:

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