solutions: 1915A

This commit is contained in:
Muhammad Nauman Raza 2025-01-11 11:45:26 +00:00
parent 21e6d3de32
commit 87932e77a0
Signed by: devraza
GPG key ID: 91EAD6081011574B

9
solutions/odd_one_out.py Normal file
View file

@ -0,0 +1,9 @@
t = int(input())
for _ in range(t):
digits = sorted([int(x) for x in input().split(' ')])
if min(digits) == digits[1]:
print(digits[2])
else:
print(digits[0])