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-11-11 03:21:42
- Judged By
- Score
- 0
- Total Time
- 1ms
- Peak Memory
- 324.0 KiB