/ SeriousOJ /

Record Detail

Accepted


  

Code

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c,d;
	cin>>a>>b>>c>>d;
	int mn=min({a,b,c,d});
	int mx=max({a,b,c,d});
	cout<<mn<<endl<<mx;
}

Information

Submit By
Type
Pretest
Problem
P1022 Minmax
Language
C++17 (G++ 13.2.0)
Submit At
2024-07-18 06:05:48
Judged At
2024-07-18 06:05:48
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes