Computer Programming Contest Preparation

ToolBox - Source for: 100/10041/a.in



/home/toolbox/public_html/solutions/100/10041/a.in
    1 8
    2 2 2 4
    3 3 2 4 6
    4 3 2 4 100
    5 4 2 4 100 100
    6 4 2 4 4 100
    7 5 2 4 4 500 400
    8 5 1 7 1 9 1
    9 6 1 7 1 9 1 10
   10