Computer Programming Contest Preparation

ToolBox - Source for: 3/340/b.in



/home/toolbox/public_html/solutions/3/340/b.in
    1 9
    2 1 2 3 4 5 6 7 8 9
    3 1 1 1 1 1 1 1 1 1
    4 0 0 0 0 0 0 0 0 0
    5 9
    6 1 1 1 1 1 1 1 1 1
    7 1 2 3 4 5 6 7 8 9
    8 9 8 7 6 5 4 3 2 1
    9 0 0 0 0 0 0 0 0 0
   10 3
   11 1 2 3
   12 3 2 1
   13 1 1 1
   14 2 2 2
   15 3 3 3
   16 1 2 3
   17 2 1 2
   18 4 1 2
   19 2 1 2
   20 3 3 1
   21 1 2 2
   22 0 0 0
   23 1
   24 2
   25 3
   26 2
   27 1
   28 0
   29 2
   30 2 2
   31 1 2
   32 1 3
   33 3 1
   34 2 1
   35 2 2
   36 0 0
   37 4
   38 1 2 1 2
   39 2 1 1 2
   40 2 1 2 1
   41 1 2 2 1
   42 1 3 3 1
   43 3 1 3 1
   44 0 0 0 0
   45 0
   46