Computer Programming Contest Preparation

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



/home/toolbox/public_html/solutions/3/394/u2.in
    1 4 7
    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 FOUR      5000 3 4 0 4 19 22 22 32 9 12
    6 ONE       2 4
    7 THREE     7
    8 TWO       2 0 6
    9 TWO       3 3 9
   10 FOUR      1 20 23 11
   11 FOUR      4 21 31 9
   12 THREE     8
   13