567

Risk
Type:
Graph
Diff: 3.0

Input

3 2 3 13
2 8 13
3 4 16 17
3 5 7 19
2 6 7
2 7 18
2 16 20
1 16
2 11 15
2 11 12
2 12 17
1 19
2 15 17
2 18 20
1 17
1 20
0
1 20
0
10
9 20
10 20
15 20
3 20
7 16
6 18
11 3
11 17
15 6
1 2

Output of The Input

Test Set #1
9 to 20: 5
10 to 20: 5
15 to 20: 4
3 to 20: 2
7 to 16: 1
6 to 18: 1
11 to 3: 2
11 to 17: 1
15 to 6: 5
1 to 2: 1

If you have any advice, complements 

or proposal, please  Send mail to Author

Submit

 

1