Computer Programming Contest Preparation

ToolBox - Source for: 109/10946/u1.in



/home/toolbox/public_html/solutions/109/10946/u1.in
    1 25 33
    2 .................................
    3 .................................
    4 .................................
    5 .................................
    6 .................................
    7 .................................
    8 ....AAAAA.....AAAA.........AAAAA.
    9 ......AAAAAAAAAAAAAAAAAAA.AAA.AAA
   10 .....AABBBBBBBBAAAAAA...A.AAA..AA
   11 ...AAABAAABBBAAAAAA...AAA..AAA..A
   12 ..AABAAA...AAAA.....AAA.....AA..A
   13 .AAABBBBAAAAA.....AAA........A.AA
   14 BBBBBAAAAA.......AAA........AA...
   15 BBBAAAAA........AAA........AAAA..
   16 AAAAAA.........AA.........AAAAAA.
   17 BAAA..........AA.......AAAAABBAA.
   18 BBAAAA.......AA......AAAABBBBBBAA
   19 BBBBAAAA.....AA.....AAABBBBBBBBAA
   20 BBBBBBAAAA...AA....AAABBBBBBBBAAB
   21 AAAAAAAAAA...AAA...AABBBBBBBAAABB
   22 AAAAAAAAAA....AA...AABBAAAAAABBBB
   23 ...AAAAAA.....AAA.AAABBBBBBBBBBBB
   24 .....AAA........AA..AAABBBBBBBBBB
   25 ....AAA..........AAA..AAAABBBBBBB
   26 AAAAA..............AAAAAAABBBBBBB
   27 5 5
   28 ..AAA
   29 E.BBB
   30 ..AA.
   31 CC.DD
   32 CC.D.
   33 2 2
   34 DC
   35 BA
   36 50 50
   37 ..................................................
   38 ..................................................
   39 ..................................................
   40 ..................................................
   41 ..................................................
   42 ..................................................
   43 ..................................................
   44 ..................................................
   45 ..................................................
   46 ..................................................
   47 ..................................................
   48 ..................................................
   49 ..................................................
   50 ..................................................
   51 ..................................................
   52 ..................................................
   53 ..................................................
   54 ..................................................
   55 ..................................................
   56 ..................................................
   57 ..................................................
   58 ..................................................
   59 ..................................................
   60 ..................................................
   61 ..................................................
   62 ..................................................
   63 ..................................................
   64 ..................................................
   65 ..................................................
   66 ..................................................
   67 ..................................................
   68 ..................................................
   69 ..................................................
   70 ..................................................
   71 ..................................................
   72 ..................................................
   73 ..................................................
   74 ..................................................
   75 ..................................................
   76 ..................................................
   77 ..................................................
   78 ..................................................
   79 ..................................................
   80 ..................................................
   81 ..................................................
   82 ..................................................
   83 ..................................................
   84 ..................................................
   85 ..................................................
   86 ..................................................
   87 50 50
   88 ..................................................
   89 ..................................................
   90 ..................................................
   91 ..................................................
   92 ..................................................
   93 ..................................................
   94 ..................................................
   95 ..................................................
   96 ..................................................
   97 ..................................................
   98 ..................................................
   99 ..................................................
  100 ..................................................
  101 ..................................................
  102 ..................................................
  103 ..................................................
  104 ..................................................
  105 ..................................................
  106 ..................................................
  107 ..................................................
  108 ..................................................
  109 ..................................................
  110 ..................................................
  111 ..................................................
  112 ..................................................
  113 ..................................................
  114 ..................................................
  115 ..............AAAAA...............................
  116 ..............AAAAA...............................
  117 ..............AAAAA...............................
  118 ..................................................
  119 ..................................................
  120 ..................................................
  121 ..................................................
  122 ..................................................
  123 ..................................................
  124 ..................................................
  125 ..................................................
  126 ..................................................
  127 ..................................................
  128 ..................................................
  129 ..................................................
  130 ..................................................
  131 ..................................................
  132 ..................................................
  133 ..................................................
  134 ..................................................
  135 ..................................................
  136 ..................................................
  137 ..................................................
  138 50 50
  139 ..................................................
  140 ..................................................
  141 ..................................................
  142 ..................................................
  143 ..................................................
  144 ..................................................
  145 ..................................................
  146 ..................................................
  147 ..................................................
  148 ..................................................
  149 ..................................................
  150 ..................................................
  151 ..................................................
  152 ..................................................
  153 ..................................................
  154 ..................................................
  155 ..................................................
  156 ..................................................
  157 ..................................................
  158 ..................................................
  159 ..................................................
  160 ..................................................
  161 .............A.A.A.A.A.A.A.A.A.A..................
  162 ..............A.A.A.A.A.A.A.A.A...................
  163 ...............A.A.A.A.A.A.A.A....................
  164 ..................................................
  165 ..................................................
  166 ..................................................
  167 ..................................................
  168 ..................................................
  169 ..................................................
  170 ..................................................
  171 ..................................................
  172 ..................................................
  173 ..................................................
  174 ..................................................
  175 ..................................................
  176 ..................................................
  177 ..................................................
  178 ..................................................
  179 ..................................................
  180 ..................................................
  181 ..................................................
  182 ..................................................
  183 ..................................................
  184 ..................................................
  185 ..................................................
  186 ..................................................
  187 ..................................................
  188 ..................................................
  189 50 50
  190 A.................................................
  191 .A................................................
  192 ..A...............................................
  193 ...A..............................................
  194 ....A.............................................
  195 .....A............................................
  196 ......A...........................................
  197 .......A..........................................
  198 ........A.........................................
  199 .........A........................................
  200 ..........A.......................................
  201 ...........A......................................
  202 ............A.....................................
  203 .............A....................................
  204 ..............A...................................
  205 ...............A..................................
  206 ................A.................................
  207 .................A................................
  208 ..................A...............................
  209 ...................A..............................
  210 ....................A.............................
  211 .....................A............................
  212 ......................A...........................
  213 .......................A..........................
  214 ........................A.........................
  215 .........................A........................
  216 ..........................A.......................
  217 ...........................A......................
  218 ............................A.....................
  219 .............................A....................
  220 ..............................A...................
  221 ...............................A..................
  222 ................................A.................
  223 .................................A................
  224 ..................................A...............
  225 ...................................A..............
  226 ....................................A.............
  227 .....................................A............
  228 ......................................A...........
  229 .......................................A..........
  230 ........................................A.........
  231 .........................................A........
  232 ..........................................A.......
  233 ...........................................A......
  234 ............................................A.....
  235 .............................................A....
  236 ..............................................A...
  237 ...............................................A..
  238 ................................................A.
  239 .................................................A
  240 3 50
  241 AAAAAAAABAAAA.....................................
  242 .AAAAAAAABAAAA....................................
  243 ..AAAAAAAABAAAA...................................
  244 1 50
  245 ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWX
  246 1 26
  247 ABCDEFGHIJKLMNOPQRSTUVWXYZ
  248 0 0
  249