solutions: 1915A
This commit is contained in:
parent
21e6d3de32
commit
87932e77a0
1 changed files with 9 additions and 0 deletions
9
solutions/odd_one_out.py
Normal file
9
solutions/odd_one_out.py
Normal 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])
|
Loading…
Reference in a new issue