Computer Programming Contest Preparation

ToolBox - Source for: 3/352/u1.in



/home/toolbox/public_html/solutions/3/352/u1.in
    1 1
    2 1
    3 21
    4 000101001000011100100
    5 011011100100100000101
    6 100010011010111000010
    7 000001111010011000100
    8 101100111110000110011
    9 010010011001011000100
   10 100011010101100001110
   11 011110000000001100110
   12 000001010011110110110
   13 110000111110010110111
   14 010001000111101010101
   15 101010000101001111001
   16 111110110101000001001
   17 100111011110000011101
   18 000010110110100001100
   19 100110000001000001110
   20 100101111101000000000
   21 101111100110010101011
   22 111010000111010100111
   23 110100000101101101110
   24 011001011000011111111
   25 17
   26 01110001111011001
   27 10110101000111110
   28 01110001011010111
   29 10011110011001010
   30 11011110100101000
   31 11111100100010101
   32 11001101001001000
   33 11110110100001101
   34 11101100011011100
   35 00110011110010011
   36 00000011000110110
   37 00011111001010011
   38 01100000111111111
   39 10101101101110110
   40 11000111000011110
   41 11110011110100010
   42 01100000000110000
   43 15
   44 001000010011001
   45 101100100000000
   46 011111110111011
   47 101100110100101
   48 000111000011100
   49 110000010100100
   50 001010111110000
   51 010100100110110
   52 010101110011110
   53 101111000001010
   54 110100101100110
   55 110001001001111
   56 000011001101011
   57 000000101001000
   58 100100000110111
   59 5
   60 11010
   61 00011
   62 11111
   63 01011
   64 00101
   65 23
   66 10000100101100011101111
   67 10111100010111100110110
   68 11010111010111010111000
   69 01111011101101011111001
   70 10001011100011100101111
   71 00111100100101010000110
   72 01101110111111110101110
   73 11011001011000111000111
   74 11111001111001001011010
   75 10101010111000011100000
   76 01011101000011000111111
   77 01101101100011001010000
   78 00111011000011100100010
   79 01011011000010100100011
   80 01011001110000011011110
   81 01100101110010101000110
   82 00001111110011000101010
   83 10010100000010101001111
   84 00101111001001011111010
   85 11110010011100011001111
   86 00011110001101000111101
   87 01010101110001101110011
   88 01000001011110001100111
   89 2
   90 01
   91 11
   92 11
   93 00110110111
   94 00011000100
   95 10010101011
   96 10010001111
   97 00000101111
   98 10100101000
   99 01011100001
  100 11101010110
  101 11000000011
  102 00010111000
  103 10100111100
  104 1
  105 0
  106 12
  107 110101100001
  108 011010100110
  109 000001110110
  110 100110010111
  111 100011010000
  112 111100111100
  113 001010111110
  114 110110111001
  115 101011010111
  116 110001110100
  117 111001111011
  118 010000111001
  119 12
  120 110010111110
  121 000111101101
  122 010010001000
  123 011100110101
  124 011001101010
  125 011111111101
  126 110010111111
  127 010111010101
  128 010100101100
  129 010101110101
  130 000010100110
  131 100000100110
  132 12
  133 011100101101
  134 001110000101
  135 001111101011
  136 111001111101
  137 111101001110
  138 100010101001
  139 010101010110
  140 010111001000
  141 010110110110
  142 010011010011
  143 111111100010
  144 001000100111
  145 3
  146 100
  147 010
  148 101
  149 12
  150 010010110011
  151 010011101111
  152 101011110111
  153 101100001011
  154 101010001110
  155 001010000111
  156 101000101100
  157 101000000111
  158 111000110011
  159 111001010100
  160 100101010110
  161 001011100000
  162 2
  163 01
  164 00
  165 15
  166 010010011011111
  167 010110110111111
  168 010001001000111
  169 000111111000110
  170 001001011110101
  171 001011010110100
  172 100100001010000
  173 101110011000010
  174 010001101001101
  175 100011110010111
  176 100000111001110
  177 100111000001010
  178 110011000100101
  179 110101001001101
  180 110011101111001
  181 15
  182 101000001001100
  183 100111010111111
  184 111010100001101
  185 111101000011011
  186 100001011100010
  187 111101011010011
  188 101110011001001
  189 000110011111110
  190 101010001000100
  191 000011110000111
  192 000111111011011
  193 111100111111111
  194 111100010011100
  195 110000111010001
  196 110000111111001
  197 8
  198 10100110
  199 01101100
  200 10111000
  201 11110001
  202 01110010
  203 00111100
  204 11001010
  205 00101011
  206 12
  207 100110111110
  208 110010101100
  209 001010001000
  210 010001010010
  211 100010000101
  212 000100111110
  213 011101111111
  214 101111010000
  215 001010000110
  216 001010100010
  217 111100000101
  218 001000000101
  219 18
  220 110100101001001011
  221 010011001101000011
  222 001011111110010011
  223 111100010011100001
  224 110100101111100011
  225 010001011001111101
  226 100111001011110100
  227 100000011100000011
  228 110111010000110100
  229 101010010001010001
  230 100111000010100001
  231 011011110111101100
  232 000101111000101010
  233 100001110000110100
  234 110010010111010010
  235 101101110110000001
  236 010000001000000110
  237 010101101101100111
  238