Oh Your Royal Greediness!

Problem Number: 
11 776
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
1 0 0 10 0 0 0 3 4 9 5 25 6 27 10 36 11 19 25 37 26 33 34 267 10 2 13 12 16 13 70 15 32 16 71 26 50 32 56 33 67 51 75 76 89 -1
Problem Id: 
11776