Submit | All submissions | Best solutions | Back to list |
COMPSEM0 - MAX AREA |
Given six sticks, two of length A metres, two of length B metres and two of length C metres. Find the maximum area of the rectangle which can be formed using four sticks from these six sticks.
INPUT
A single line containing three integers A, B and C.
OUTPUT
The maximum area of the rectangle which can be formed using four sticks from these six sticks
CONSTRAINTS
1 <= A, B, C <= 100
SAMPLE INPUT
1 2 3
SAMPLE OUTPUT
6
Added by: | amit karmakar |
Date: | 2012-04-04 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |