Domes
Unrated
English
Language
Contribute a translation- Time limit
- 2000 ms
- Memory limit
- 2048 MB (no extra memory)
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
100 100 5 30 70 50 60 50 40 30 30 20 50 4 3 5 2 1
Sample output 1
450.000000
Sample input 2
100 100 5 30 70 50 60 50 40 30 30 20 50 1 2 5 4 3
Sample output 2
0.000000
Tags
No tags yet