# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

# A Weird Dragon

Limits 1s, 512 MB

We all know about Daenerys Targaryen and her three dragons. And we also know that one of those dragon love’s to eat grass. Recently a farmer of Exile of Essos complained to Daenerys that that dragon ate all grasses of his land. So, Daenerys decided to punish her son I mean that dragon. She will tie that dragon for some time.

Now, the dragon is tied with a rope in a rectangular field. The other end of that rope is in the center of that rectangular field. And the field is full with juicy grass. You are given the length of rope ($R$) and length ($L$) and width ($W$) of rectangular field. Now, the dragon wants you to find out the area ($A$) of this field where he will be able to go and eat grass. You should do this task precisely because you don't want to mess with a grass eating dragon.

## Input

There can be several test cases. Each test case contains three integers, $R$ ($1 \le R \le 100000$), $L$ ($1 \le L \le 10000$) and $W$ ($1 \le W \le L$).

## Output

You have to print $A$, the required area which is described in the statement. Errors less than $10^{-6}$ will be ignored.

## Samples

InputOutput
200 100 80

8000.000000

InputOutput
60 120 100

10409.422430


### Statistics

72% Solution Ratio

Islam_RafatEarliest, Nov '17

smjlord068Fastest, 66.2s

Islam_RafatLightest, 131 kB

MU_yeaminShortest, 714B

Login to submit

### Related Contests

 MU Tech Fest Programming Contest 2017 (Senior)Ended Nov '17 Replay of MU Tech Fest Programming Contest 2017 (Senior)Ended Nov '17
Toph uses cookies. By continuing you agree to our Cookie Policy.