Hide
Problem A
Hornrétt
Languages
en
is

Image from Flickr
Input
The input contains three integers
Output
Print the area of the triangle if it’s possible to make a
right angled triangle with side lengths
Scoring
Group |
Points |
Constraints |
1 |
50 |
|
2 |
50 |
|
Sample Input 1 | Sample Output 1 |
---|---|
3 4 5 |
6 |
Sample Input 2 | Sample Output 2 |
---|---|
4 6 7 |
-1 |