aoc2022

Advent of Code 2022 solutions in Perl.
git clone git://git.samirparikh.com/aoc2022
Log | Files | Refs | README

input (9938B) - raw


      1                 [M]     [W] [M]    
      2             [L] [Q] [S] [C] [R]    
      3             [Q] [F] [F] [T] [N] [S]
      4     [N]     [V] [V] [H] [L] [J] [D]
      5     [D] [D] [W] [P] [G] [R] [D] [F]
      6 [T] [T] [M] [G] [G] [Q] [N] [W] [L]
      7 [Z] [H] [F] [J] [D] [Z] [S] [H] [Q]
      8 [B] [V] [B] [T] [W] [V] [Z] [Z] [M]
      9  1   2   3   4   5   6   7   8   9 
     10 
     11 move 1 from 7 to 4
     12 move 1 from 6 to 2
     13 move 5 from 9 to 4
     14 move 2 from 2 to 8
     15 move 2 from 2 to 6
     16 move 3 from 3 to 7
     17 move 3 from 7 to 1
     18 move 1 from 9 to 4
     19 move 4 from 7 to 3
     20 move 5 from 1 to 8
     21 move 1 from 1 to 2
     22 move 1 from 4 to 9
     23 move 4 from 5 to 6
     24 move 1 from 5 to 8
     25 move 3 from 2 to 4
     26 move 3 from 6 to 4
     27 move 3 from 5 to 9
     28 move 1 from 9 to 7
     29 move 1 from 9 to 8
     30 move 2 from 7 to 9
     31 move 1 from 7 to 9
     32 move 1 from 7 to 8
     33 move 2 from 9 to 8
     34 move 13 from 4 to 2
     35 move 2 from 6 to 1
     36 move 3 from 3 to 2
     37 move 9 from 2 to 7
     38 move 1 from 9 to 7
     39 move 5 from 7 to 8
     40 move 9 from 8 to 4
     41 move 2 from 7 to 1
     42 move 1 from 1 to 7
     43 move 2 from 3 to 2
     44 move 14 from 4 to 5
     45 move 3 from 8 to 4
     46 move 13 from 8 to 3
     47 move 2 from 7 to 1
     48 move 6 from 6 to 5
     49 move 1 from 6 to 9
     50 move 3 from 2 to 8
     51 move 1 from 7 to 8
     52 move 5 from 2 to 8
     53 move 4 from 4 to 8
     54 move 1 from 9 to 8
     55 move 1 from 7 to 1
     56 move 1 from 1 to 2
     57 move 7 from 3 to 2
     58 move 4 from 3 to 2
     59 move 2 from 5 to 3
     60 move 2 from 1 to 5
     61 move 5 from 8 to 7
     62 move 6 from 8 to 3
     63 move 11 from 5 to 8
     64 move 8 from 8 to 9
     65 move 5 from 7 to 8
     66 move 3 from 1 to 8
     67 move 5 from 3 to 8
     68 move 11 from 2 to 9
     69 move 1 from 3 to 5
     70 move 1 from 2 to 1
     71 move 1 from 2 to 7
     72 move 6 from 5 to 7
     73 move 19 from 9 to 7
     74 move 3 from 5 to 3
     75 move 1 from 5 to 4
     76 move 1 from 1 to 4
     77 move 1 from 9 to 8
     78 move 25 from 7 to 9
     79 move 2 from 4 to 1
     80 move 2 from 1 to 4
     81 move 2 from 4 to 7
     82 move 2 from 7 to 9
     83 move 5 from 3 to 1
     84 move 1 from 7 to 1
     85 move 9 from 9 to 5
     86 move 3 from 5 to 6
     87 move 9 from 9 to 1
     88 move 7 from 1 to 3
     89 move 6 from 8 to 9
     90 move 1 from 5 to 2
     91 move 10 from 9 to 2
     92 move 1 from 2 to 7
     93 move 5 from 9 to 8
     94 move 1 from 5 to 8
     95 move 5 from 3 to 8
     96 move 1 from 9 to 4
     97 move 4 from 3 to 6
     98 move 4 from 6 to 3
     99 move 3 from 1 to 4
    100 move 3 from 2 to 4
    101 move 3 from 5 to 8
    102 move 3 from 4 to 9
    103 move 1 from 7 to 3
    104 move 2 from 9 to 8
    105 move 4 from 2 to 5
    106 move 1 from 3 to 4
    107 move 1 from 9 to 3
    108 move 5 from 5 to 6
    109 move 7 from 8 to 5
    110 move 3 from 1 to 7
    111 move 6 from 5 to 8
    112 move 5 from 4 to 5
    113 move 3 from 3 to 2
    114 move 1 from 1 to 4
    115 move 19 from 8 to 1
    116 move 3 from 7 to 3
    117 move 4 from 2 to 9
    118 move 1 from 2 to 6
    119 move 7 from 6 to 4
    120 move 1 from 6 to 2
    121 move 2 from 1 to 3
    122 move 5 from 4 to 1
    123 move 1 from 6 to 2
    124 move 3 from 3 to 6
    125 move 12 from 1 to 2
    126 move 2 from 8 to 1
    127 move 14 from 2 to 4
    128 move 7 from 1 to 5
    129 move 10 from 4 to 6
    130 move 3 from 6 to 4
    131 move 1 from 8 to 4
    132 move 4 from 3 to 5
    133 move 1 from 2 to 3
    134 move 2 from 1 to 4
    135 move 17 from 5 to 3
    136 move 7 from 4 to 1
    137 move 1 from 9 to 4
    138 move 4 from 6 to 3
    139 move 5 from 4 to 8
    140 move 12 from 3 to 1
    141 move 6 from 3 to 5
    142 move 17 from 1 to 5
    143 move 2 from 1 to 9
    144 move 3 from 1 to 4
    145 move 7 from 8 to 2
    146 move 4 from 3 to 7
    147 move 1 from 1 to 8
    148 move 17 from 5 to 2
    149 move 11 from 2 to 8
    150 move 11 from 8 to 4
    151 move 11 from 2 to 4
    152 move 4 from 6 to 1
    153 move 4 from 1 to 3
    154 move 2 from 6 to 9
    155 move 3 from 7 to 8
    156 move 3 from 5 to 3
    157 move 23 from 4 to 3
    158 move 4 from 4 to 8
    159 move 1 from 7 to 4
    160 move 2 from 2 to 3
    161 move 6 from 3 to 2
    162 move 16 from 3 to 9
    163 move 2 from 5 to 8
    164 move 1 from 4 to 5
    165 move 2 from 5 to 9
    166 move 1 from 2 to 3
    167 move 1 from 3 to 8
    168 move 9 from 9 to 1
    169 move 6 from 3 to 8
    170 move 3 from 3 to 1
    171 move 18 from 8 to 9
    172 move 1 from 3 to 5
    173 move 5 from 1 to 4
    174 move 5 from 1 to 8
    175 move 3 from 4 to 1
    176 move 1 from 5 to 2
    177 move 2 from 4 to 8
    178 move 1 from 1 to 2
    179 move 5 from 2 to 7
    180 move 2 from 8 to 1
    181 move 2 from 2 to 6
    182 move 3 from 1 to 6
    183 move 3 from 9 to 6
    184 move 31 from 9 to 7
    185 move 26 from 7 to 8
    186 move 3 from 1 to 6
    187 move 22 from 8 to 4
    188 move 2 from 4 to 5
    189 move 4 from 6 to 5
    190 move 11 from 4 to 3
    191 move 9 from 4 to 6
    192 move 2 from 5 to 9
    193 move 4 from 7 to 1
    194 move 2 from 6 to 1
    195 move 1 from 5 to 3
    196 move 6 from 8 to 6
    197 move 8 from 6 to 2
    198 move 1 from 1 to 6
    199 move 3 from 1 to 3
    200 move 1 from 5 to 3
    201 move 1 from 5 to 9
    202 move 5 from 7 to 2
    203 move 2 from 9 to 6
    204 move 4 from 8 to 6
    205 move 1 from 7 to 2
    206 move 1 from 5 to 4
    207 move 12 from 3 to 4
    208 move 3 from 3 to 1
    209 move 3 from 6 to 8
    210 move 1 from 9 to 3
    211 move 6 from 2 to 6
    212 move 2 from 3 to 2
    213 move 10 from 2 to 7
    214 move 2 from 1 to 9
    215 move 2 from 1 to 6
    216 move 1 from 1 to 4
    217 move 9 from 7 to 9
    218 move 3 from 8 to 7
    219 move 7 from 4 to 8
    220 move 2 from 7 to 4
    221 move 4 from 8 to 1
    222 move 5 from 8 to 2
    223 move 3 from 1 to 3
    224 move 1 from 8 to 7
    225 move 3 from 3 to 7
    226 move 4 from 2 to 6
    227 move 8 from 4 to 2
    228 move 5 from 2 to 5
    229 move 11 from 9 to 7
    230 move 2 from 5 to 7
    231 move 16 from 7 to 8
    232 move 5 from 8 to 7
    233 move 1 from 4 to 3
    234 move 3 from 5 to 1
    235 move 11 from 6 to 5
    236 move 7 from 5 to 4
    237 move 5 from 7 to 4
    238 move 1 from 3 to 7
    239 move 2 from 5 to 4
    240 move 10 from 4 to 8
    241 move 14 from 6 to 3
    242 move 1 from 5 to 9
    243 move 1 from 6 to 5
    244 move 2 from 2 to 9
    245 move 2 from 1 to 3
    246 move 2 from 5 to 3
    247 move 2 from 7 to 6
    248 move 2 from 1 to 4
    249 move 1 from 2 to 3
    250 move 19 from 3 to 6
    251 move 3 from 9 to 2
    252 move 4 from 2 to 6
    253 move 6 from 6 to 7
    254 move 13 from 6 to 2
    255 move 14 from 8 to 1
    256 move 6 from 4 to 3
    257 move 5 from 7 to 8
    258 move 3 from 6 to 3
    259 move 2 from 8 to 2
    260 move 2 from 6 to 8
    261 move 4 from 1 to 8
    262 move 13 from 8 to 4
    263 move 10 from 4 to 7
    264 move 1 from 4 to 5
    265 move 1 from 5 to 1
    266 move 3 from 6 to 5
    267 move 3 from 8 to 9
    268 move 9 from 3 to 1
    269 move 3 from 5 to 8
    270 move 3 from 9 to 6
    271 move 3 from 8 to 7
    272 move 1 from 6 to 9
    273 move 1 from 9 to 4
    274 move 9 from 2 to 8
    275 move 2 from 2 to 6
    276 move 14 from 7 to 1
    277 move 31 from 1 to 5
    278 move 3 from 1 to 7
    279 move 4 from 6 to 8
    280 move 24 from 5 to 3
    281 move 2 from 8 to 1
    282 move 1 from 8 to 5
    283 move 2 from 1 to 7
    284 move 3 from 7 to 6
    285 move 6 from 8 to 6
    286 move 2 from 4 to 2
    287 move 1 from 4 to 3
    288 move 2 from 2 to 7
    289 move 6 from 6 to 7
    290 move 4 from 8 to 6
    291 move 7 from 6 to 2
    292 move 12 from 7 to 5
    293 move 4 from 2 to 8
    294 move 1 from 2 to 4
    295 move 1 from 4 to 6
    296 move 1 from 6 to 7
    297 move 1 from 7 to 3
    298 move 3 from 3 to 8
    299 move 17 from 3 to 5
    300 move 4 from 3 to 6
    301 move 35 from 5 to 3
    302 move 2 from 2 to 6
    303 move 1 from 5 to 9
    304 move 9 from 3 to 7
    305 move 6 from 8 to 1
    306 move 4 from 2 to 6
    307 move 4 from 6 to 9
    308 move 20 from 3 to 9
    309 move 22 from 9 to 7
    310 move 1 from 8 to 6
    311 move 29 from 7 to 5
    312 move 4 from 6 to 8
    313 move 6 from 1 to 8
    314 move 2 from 7 to 3
    315 move 1 from 6 to 5
    316 move 2 from 3 to 9
    317 move 1 from 9 to 3
    318 move 4 from 5 to 6
    319 move 18 from 5 to 1
    320 move 7 from 3 to 1
    321 move 1 from 3 to 6
    322 move 3 from 5 to 1
    323 move 1 from 3 to 9
    324 move 4 from 5 to 2
    325 move 10 from 8 to 7
    326 move 2 from 9 to 3
    327 move 1 from 3 to 5
    328 move 21 from 1 to 9
    329 move 1 from 3 to 2
    330 move 1 from 2 to 9
    331 move 15 from 9 to 3
    332 move 4 from 7 to 1
    333 move 2 from 6 to 1
    334 move 7 from 9 to 1
    335 move 1 from 5 to 4
    336 move 1 from 4 to 6
    337 move 6 from 3 to 9
    338 move 3 from 6 to 5
    339 move 19 from 1 to 6
    340 move 8 from 3 to 6
    341 move 1 from 3 to 7
    342 move 20 from 6 to 7
    343 move 1 from 2 to 6
    344 move 6 from 9 to 8
    345 move 2 from 9 to 4
    346 move 1 from 1 to 3
    347 move 1 from 2 to 9
    348 move 3 from 5 to 6
    349 move 2 from 7 to 3
    350 move 2 from 9 to 7
    351 move 1 from 4 to 8
    352 move 4 from 8 to 9
    353 move 4 from 7 to 1
    354 move 2 from 1 to 7
    355 move 1 from 3 to 2
    356 move 2 from 8 to 9
    357 move 6 from 6 to 2
    358 move 1 from 8 to 1
    359 move 1 from 5 to 7
    360 move 4 from 2 to 9
    361 move 1 from 3 to 5
    362 move 5 from 6 to 1
    363 move 1 from 4 to 2
    364 move 1 from 9 to 6
    365 move 1 from 9 to 6
    366 move 4 from 6 to 3
    367 move 7 from 9 to 7
    368 move 8 from 7 to 2
    369 move 1 from 5 to 8
    370 move 5 from 2 to 9
    371 move 3 from 2 to 5
    372 move 6 from 1 to 3
    373 move 17 from 7 to 6
    374 move 1 from 8 to 2
    375 move 2 from 1 to 7
    376 move 5 from 9 to 4
    377 move 4 from 3 to 8
    378 move 3 from 4 to 1
    379 move 1 from 9 to 2
    380 move 4 from 2 to 1
    381 move 1 from 8 to 4
    382 move 1 from 5 to 9
    383 move 1 from 2 to 3
    384 move 3 from 3 to 2
    385 move 10 from 7 to 6
    386 move 3 from 4 to 1
    387 move 5 from 3 to 2
    388 move 4 from 1 to 5
    389 move 3 from 8 to 6
    390 move 12 from 6 to 4
    391 move 1 from 9 to 3
    392 move 1 from 5 to 2
    393 move 3 from 1 to 6
    394 move 12 from 6 to 8
    395 move 3 from 1 to 5
    396 move 2 from 4 to 3
    397 move 5 from 8 to 7
    398 move 7 from 5 to 3
    399 move 3 from 7 to 9
    400 move 1 from 5 to 8
    401 move 5 from 3 to 7
    402 move 10 from 6 to 5
    403 move 2 from 7 to 5
    404 move 8 from 2 to 9
    405 move 5 from 3 to 9
    406 move 9 from 5 to 1
    407 move 5 from 7 to 4
    408 move 15 from 9 to 5
    409 move 1 from 2 to 5
    410 move 1 from 8 to 5
    411 move 6 from 4 to 1
    412 move 2 from 2 to 9
    413 move 18 from 5 to 8
    414 move 18 from 8 to 3
    415 move 16 from 3 to 4
    416 move 3 from 5 to 8
    417 move 1 from 9 to 2
    418 move 3 from 1 to 7
    419 move 3 from 8 to 2
    420 move 3 from 7 to 9
    421 move 2 from 3 to 4
    422 move 3 from 9 to 8
    423 move 11 from 1 to 6
    424 move 2 from 9 to 4
    425 move 3 from 6 to 9
    426 move 8 from 6 to 4
    427 move 26 from 4 to 7
    428 move 1 from 2 to 5
    429 move 1 from 5 to 2
    430 move 3 from 9 to 3
    431 move 21 from 7 to 6
    432 move 4 from 2 to 4
    433 move 1 from 2 to 3
    434 move 5 from 7 to 6
    435 move 8 from 8 to 1
    436 move 1 from 3 to 7
    437 move 9 from 1 to 4
    438 move 1 from 7 to 4
    439 move 20 from 4 to 7
    440 move 1 from 8 to 5
    441 move 2 from 4 to 8
    442 move 1 from 4 to 9
    443 move 3 from 8 to 9
    444 move 1 from 5 to 8
    445 move 2 from 3 to 1
    446 move 4 from 7 to 8
    447 move 3 from 7 to 5
    448 move 1 from 1 to 7
    449 move 4 from 8 to 3
    450 move 3 from 5 to 6
    451 move 1 from 8 to 4
    452 move 1 from 1 to 8
    453 move 28 from 6 to 4
    454 move 1 from 6 to 1
    455 move 2 from 7 to 8
    456 move 1 from 8 to 7
    457 move 1 from 8 to 1
    458 move 2 from 1 to 9
    459 move 3 from 9 to 3
    460 move 12 from 7 to 5
    461 move 7 from 3 to 1
    462 move 1 from 3 to 6
    463 move 26 from 4 to 9
    464 move 1 from 6 to 3
    465 move 1 from 3 to 6
    466 move 1 from 8 to 6
    467 move 1 from 7 to 8
    468 move 1 from 6 to 3
    469 move 3 from 1 to 3
    470 move 5 from 4 to 3
    471 move 28 from 9 to 4
    472 move 2 from 1 to 5
    473 move 22 from 4 to 1
    474 move 3 from 5 to 3
    475 move 5 from 5 to 7
    476 move 10 from 1 to 6
    477 move 1 from 5 to 2
    478 move 3 from 5 to 3
    479 move 2 from 5 to 9
    480 move 3 from 9 to 7
    481 move 2 from 4 to 5
    482 move 1 from 5 to 4
    483 move 4 from 3 to 8
    484 move 1 from 5 to 7
    485 move 9 from 6 to 5
    486 move 1 from 7 to 6
    487 move 1 from 6 to 5
    488 move 2 from 6 to 9
    489 move 3 from 5 to 1
    490 move 13 from 1 to 3
    491 move 7 from 7 to 5
    492 move 1 from 2 to 9
    493 move 3 from 8 to 2
    494 move 1 from 7 to 2
    495 move 3 from 4 to 3
    496 move 19 from 3 to 8
    497 move 5 from 3 to 7
    498 move 1 from 7 to 1
    499 move 19 from 8 to 6
    500 move 5 from 1 to 4
    501 move 5 from 5 to 2
    502 move 2 from 2 to 7
    503 move 3 from 4 to 1
    504 move 6 from 5 to 7
    505 move 2 from 8 to 7
    506 move 2 from 2 to 7
    507 move 3 from 3 to 5
    508 move 5 from 7 to 6
    509 move 6 from 6 to 1
    510 move 2 from 5 to 1
    511 move 2 from 4 to 3
    512 move 1 from 5 to 8