Computer Programming Contest Preparation

ToolBox - Source for: 3/394/a.in



/home/toolbox/public_html/solutions/3/394/a.in
    1 3 4
    2 ONE          1500 2 2 0 3 1 5
    3 TWO          2000 4 3 1 4 0 5 5 10
    4 THREE        3000 1 1 1 9
    5 ONE          2 4
    6 THREE        7
    7 TWO          2 0 6
    8 TWO          3 3 9
    9