Computer Programming Contest Preparation

ToolBox - Source for: 111/11110/u3.in



/home/toolbox/public_html/solutions/111/11110/u3.in
    1 3
    2 1 1 1 2 1 3 3 1 3 2 3 3
    3 2 1 2 2 2 3
    4 3
    5 1 1 2 1 3 1 1 3 2 3 3 3
    6 1 2 2 2 3 2
    7 1
    8 2
    9 
   10 3
   11 2 1 3 1 3 2
   12 1 2 1 3 2 3
   13 4
   14 1 2 1 3 2 2 2 3
   15 3 2 3 3 4 2 4 3
   16 1 1 1 4 4 1 4 4
   17 5
   18 1 1 1 2 1 3 2 1 2 2
   19 3 1 3 2 4 1 5 1 5 2
   20 3 3 3 4 4 3 4 4 5 3
   21 1 4 1 5 2 3 2 4 2 5
   22 0
   23 2
   24 1 1 2 2
   25 3
   26 1 1
   27 2 1 2 2 2 3 1 3
   28 2
   29 1 1 2 1
   30 4
   31 1 1 2 1 3 1 4 1
   32 1 2 2 2 3 2 4 2
   33 1 4 1 3 2 4 3 4
   34 0
   35