Skip to content

Lava Moat

Unrated
English

Language

Contribute a translation
Time limit
4000 ms
Memory limit
2048 MB (no extra memory)
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

Lava Moat, original English page 1

Lava Moat, original English page 2

Examples

Sample input 1
3
6 6 4 2
0 0 1
6 0 4
6 6 3
0 6 2
1 2 3
1 3 4
6 6 4 2
0 0 1
6 0 2
6 6 4
0 6 3
1 2 3
1 3 4
10 6 7 7
6 1 8
10 0 10
10 6 4
2 6 6
0 6 0
4 3 11
0 0 7
2 1 7
2 3 1
3 6 1
3 4 6
6 4 5
5 7 6
7 1 6
Sample output 1
impossible
6.708203932
15.849260054

Tags

No tags yet

Source