aoc2022

Advent of Code 2022 solutions in Rust
git clone git://code.mfashby.net:/aoc2022
Log | Files | Refs

day5.txt (9954B)


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