Wrong Answer
Code
m = map(int, input().split())
n = list(m)
if n[0] > n[1]:
max1 = n[0]
min1 = n[1]
else:
max1 = n[1]
min1 = n[0]
if n[2] > n[3]:
max2 = n[2]
min2 = n[3]
else:
max2 = n[3]
min2 = n[2]
if max1 > max2:
lar = max1
else:
lar = max2
if min1 < min2:
low = min1
else:
low = min2
print(lar)
print(low)
Information
- Submit By
- Type
- Submission
- Problem
- P1022 Minmax
- Contest
- Brain booster - 1
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2023-12-31 13:43:38
- Judged At
- 2024-11-11 03:46:36
- Judged By
- Score
- 0
- Total Time
- 16ms
- Peak Memory
- 3.043 MiB