Skip to content

Catch the Plane

Unrated
English

Language

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

Statement

Catch the Plane, page 1

Catch the Plane, page 2

Examples

Sample input 1
8 4
1000
0 1 0 900 0.2
0 2 100 500 1.0
2 1 500 700 1.0
2 1 501 701 0.1
0 3 200 400 0.5
3 1 500 800 0.1
3 0 550 650 0.9
0 1 700 900 0.1
Sample output 1
0.3124
Sample input 2
4 2
2
0 1 0 1 0.5
0 1 0 1 0.5
0 1 1 2 0.4
0 1 1 2 0.2
Sample output 2
0.7

Tags

No tags yet

Source