Wrong Answer
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
- Submission
- Problem
- P1022 Minmax
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-07-18 05:56:44
- Judged At
- 2024-07-18 05:56:44
- Judged By
- Score
- 70
- Total Time
- 2ms
- Peak Memory
- 540.0 KiB