/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 1ms 508.0 KiB
#2 Accepted 1ms 320.0 KiB
#3 Accepted 1ms 532.0 KiB
#4 Accepted 2ms 328.0 KiB
#5 Accepted 1ms 532.0 KiB
#6 Accepted 1ms 320.0 KiB

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