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
- Submission
- Problem
- P1022 Minmax
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-07-18 06:05:56
- Judged At
- 2024-11-11 03:21:38
- Judged By
- Score
- 100
- Total Time
- 2ms
- Peak Memory
- 532.0 KiB