advent-of-code

Perserverance, or the lack thereof

git clone git://git.shimmy1996.com/advent-of-code.git

input.txt (9912B)

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