Skip to content

Walking on Sunshine

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

Walking on Sunshine, original English page 1

Walking on Sunshine, original English page 2

Examples

Sample input 1
2 1 7 5 1
3 6 5 9
2 3 6 5
Sample output 1
3.0
Sample input 2
2 0 10 10 0
2 7 3 8
4 3 8 5
Sample output 2
7.0
Sample input 3
2 11 -1 -1 11
2 7 3 8
4 3 8 5
Sample output 3
0.0
Sample input 4
3 1 5 9 5
-5 6 2 9
4 7 12 8
1 1 7 3
Sample output 4
0.0
Sample input 5
3 1 7 9 3
2 6 3 8
4 4 5 6
6 2 7 4
Sample output 5
0.0
Sample input 6
1 0 0 0 0
-5 -5 5 5
Sample output 6
0.0

Tags

No tags yet

Source