The Eurocup Is Here!

Problem Number: 
10 666
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
20 31 1024 30 1024 29 2048 28 5096 4 0 4 1 4 2 4 3 4 4 4 5 4 6 4 7 4 8 4 9 4 10 4 11 4 12 4 13 4 14 4 15
Problem Id: 
10666