← Back to List

24348번: ИЗРАЗ ↗

Solutions

Python 3
81 B | 81 chars
l=sorted([*map(int,input().split())])
print(max(l[2]*l[1]+l[0], l[2]+l[1]*l[0]))