← Back to List

27272번: Пары ↗

Solutions

Python 3
72 B | 72 chars
a,b,c,d=map(int,input().split())
print(max([a*b+c*d, a*c+b*d, a*d+b*c]))