advent2022

Advent of Code 2022 Solutions
git clone git://bsandro.tech/advent2022
Log | Files | Refs | README | LICENSE

input.txt (9988B)


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