Accepted
Code
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a[4];
for(int i=0; i<4; i++){
cin>>a[i];
}
sort(a,a+4);
cout<<a[0]<<endl<<a[2];
}
Information
- Submit By
- Type
- Pretest
- Problem
- P1022 Minmax
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-07-18 05:56:37
- Judged At
- 2024-07-18 05:56:37
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes