Skip to content

Bride of Pipe Stream

Unrated
English

Language

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

Statement

Bride of Pipe Stream, original English page 1

Bride of Pipe Stream, original English page 2

Examples

Sample input 1
2 3 3
1 2 3 80 4 10
1 2 2 40 4 30
2 1 5 100
Sample output 1
24.0
Sample input 2
1 2 3
1 1 2 50
1 1 3 50
1 2 2 40 3 60
Sample output 2
42.8571428571

Tags

No tags yet

Source