advent-of-code

Perserverance, or the lack thereof

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

input.txt (13000B)

    1 100100110110
    2 101110110110
    3 010100010100
    4 011001110000
    5 000000000111
    6 000010110001
    7 001111000001
    8 100010000001
    9 010100110011
   10 010000010110
   11 010000000011
   12 010101001000
   13 011011101100
   14 011100110111
   15 011011000000
   16 001010010010
   17 011011111010
   18 011110110110
   19 000000100010
   20 111111010101
   21 011100010011
   22 001110110100
   23 110110010100
   24 100000001011
   25 100100010011
   26 011011010001
   27 111000101110
   28 101100001111
   29 110101010101
   30 011010001001
   31 101111011000
   32 011111111011
   33 110000100101
   34 011101101101
   35 011010011001
   36 111100100001
   37 100000010000
   38 111010001010
   39 111110010001
   40 110110001101
   41 000001000001
   42 000101011000
   43 111101100100
   44 110011001001
   45 100010100011
   46 011011100010
   47 011000101101
   48 110101101011
   49 111110101000
   50 010111110100
   51 010010101011
   52 100001001000
   53 101011101011
   54 110111000001
   55 011100011110
   56 011001101101
   57 010100001111
   58 001111011000
   59 100111111010
   60 110110000100
   61 000010101100
   62 111010111011
   63 110110110110
   64 110111011000
   65 100001011001
   66 110010011111
   67 100000000101
   68 110000101100
   69 110100010110
   70 101001101100
   71 111000100011
   72 011001001101
   73 000111100111
   74 001000111110
   75 110100100010
   76 000110011100
   77 010011101111
   78 010101000111
   79 101100100001
   80 100110000010
   81 001110100101
   82 010100100100
   83 001110010110
   84 000010111010
   85 101011101001
   86 101111101010
   87 101011100110
   88 011001111010
   89 100110101010
   90 101111101110
   91 100000100011
   92 000101001011
   93 000110110000
   94 110111101111
   95 111110010110
   96 100010010111
   97 011100000101
   98 101010011010
   99 010111110010
  100 000011111101
  101 000001101000
  102 000111001001
  103 101000001011
  104 011001101000
  105 010110101110
  106 000111101000
  107 101100100011
  108 011010010011
  109 110101111110
  110 101011110001
  111 111000011101
  112 111110011100
  113 100110110001
  114 110111110011
  115 000000011010
  116 000100001110
  117 011100001111
  118 010110010111
  119 011000100110
  120 011000111000
  121 010001000111
  122 100010101110
  123 011001111011
  124 010111100001
  125 011101101110
  126 101100010110
  127 100010101011
  128 110101000010
  129 111010001101
  130 111001100111
  131 101001110111
  132 011000110010
  133 011001111100
  134 010001000110
  135 011011100101
  136 101111010001
  137 100110001011
  138 001011000010
  139 010100011111
  140 101111100110
  141 011100000010
  142 011001000010
  143 010011011111
  144 001101000010
  145 110110010110
  146 001000101001
  147 101100011000
  148 000111000110
  149 000001001101
  150 000100100111
  151 110111011100
  152 010100101001
  153 010101110000
  154 110000001110
  155 010011010000
  156 011101110000
  157 001111100000
  158 010011000011
  159 010011010011
  160 101110010000
  161 101100000110
  162 110011101101
  163 010011111101
  164 101011010110
  165 001011011100
  166 111111011001
  167 011011111000
  168 011101110011
  169 010011001101
  170 100011001000
  171 011010111011
  172 111101000110
  173 100110001101
  174 101001101011
  175 100000111100
  176 111101001011
  177 010111010111
  178 101110000000
  179 010010111111
  180 100010110010
  181 101111110100
  182 111101110111
  183 111111110010
  184 110110001100
  185 101010101111
  186 000110101000
  187 100110110100
  188 100101011010
  189 001001011000
  190 111010001011
  191 000000110100
  192 111000010010
  193 101010011101
  194 010110000010
  195 011111110111
  196 101011111101
  197 011010100111
  198 100011011101
  199 110110011110
  200 101111100111
  201 001100001111
  202 011111101011
  203 100101000100
  204 100101010010
  205 011110111010
  206 010110001001
  207 010101101010
  208 001111000101
  209 010001001100
  210 001010000010
  211 010000001101
  212 110000100110
  213 111100001101
  214 101010001001
  215 110011111111
  216 010111011001
  217 000111101111
  218 111110000011
  219 011111000011
  220 011110011011
  221 100011010100
  222 000011000110
  223 011100101000
  224 010101001111
  225 010110010110
  226 111111000111
  227 101011001001
  228 011100010111
  229 000000001100
  230 011001001000
  231 110101101111
  232 101101011001
  233 000111011000
  234 000010001111
  235 111110011011
  236 010111011111
  237 011101110100
  238 001011100001
  239 001001011100
  240 110100111011
  241 100101011111
  242 000111001101
  243 011110100101
  244 111100011010
  245 111000110100
  246 010001010101
  247 100001000100
  248 000000101110
  249 011011001110
  250 111010100111
  251 100110110000
  252 110110110001
  253 001110001001
  254 110010111111
  255 000111001011
  256 011001011111
  257 000010001011
  258 100010101001
  259 100101100101
  260 010110011001
  261 101101011110
  262 101011100101
  263 101110110101
  264 111001100001
  265 001000101010
  266 101011010011
  267 110011101100
  268 101100001101
  269 101111101001
  270 111100000010
  271 100111000000
  272 010010000100
  273 001001001001
  274 000110111110
  275 011010001110
  276 100011110000
  277 110111101000
  278 110000010101
  279 011011101011
  280 101000010001
  281 110110110010
  282 100000000001
  283 011011010101
  284 000111111101
  285 100001111011
  286 100100000110
  287 001111100010
  288 110010000011
  289 101101111001
  290 110011010110
  291 010001011011
  292 010010011010
  293 001110011110
  294 100111010010
  295 110011011010
  296 111100010011
  297 111011011101
  298 100001010110
  299 101011001111
  300 001001000000
  301 101011100010
  302 010000110011
  303 100111110000
  304 010010101110
  305 110000110011
  306 110100010111
  307 001011110010
  308 101011000111
  309 000101110011
  310 010001111011
  311 000010011011
  312 011000001011
  313 000000100100
  314 001101111001
  315 011000000101
  316 100100001101
  317 101001000011
  318 111100100111
  319 111000111111
  320 011000110011
  321 101011011110
  322 101110000100
  323 010101000001
  324 110111111100
  325 100000011011
  326 101001011010
  327 111011000110
  328 110111101011
  329 011000101100
  330 100001111111
  331 111011100101
  332 110111110101
  333 101011111010
  334 010001101100
  335 111000111001
  336 110001000011
  337 100000110100
  338 010110100010
  339 100011011111
  340 001111111001
  341 101101011011
  342 011101011000
  343 100000111000
  344 101000000110
  345 010110011101
  346 110010101101
  347 011110000010
  348 100011011010
  349 110010110101
  350 110111100011
  351 110100110000
  352 101010011100
  353 001010010110
  354 100110011110
  355 101100100010
  356 110101111001
  357 111110000000
  358 011000111111
  359 100100100000
  360 111111101111
  361 001011110101
  362 101110000001
  363 101111011110
  364 011010111001
  365 011111010111
  366 000111000101
  367 000100010001
  368 111100100101
  369 100110000100
  370 001000001111
  371 001001100100
  372 001000000110
  373 110010100100
  374 111110110101
  375 010010111001
  376 110111000110
  377 011101000000
  378 100001101100
  379 111101000111
  380 000101111111
  381 001111010100
  382 101001100100
  383 111111110001
  384 010010010001
  385 111011101010
  386 001110101000
  387 111101100001
  388 100001000001
  389 111001111010
  390 100101000011
  391 000001110011
  392 000111100001
  393 110010011110
  394 111111101011
  395 000101001001
  396 000101111101
  397 011101011001
  398 100100000111
  399 110000001011
  400 001111100110
  401 110010001101
  402 011101011011
  403 011100111111
  404 000001010000
  405 011001010101
  406 001111001010
  407 010111000000
  408 001101101101
  409 011111000111
  410 000111011101
  411 100100111100
  412 011101011111
  413 111000000111
  414 100111101101
  415 001001111001
  416 010001100101
  417 101111100001
  418 000010101101
  419 010001011111
  420 000111101010
  421 011101111101
  422 111111110101
  423 011111001101
  424 110101001100
  425 011110001110
  426 001001010000
  427 010001010001
  428 011000010010
  429 100010000100
  430 100100100001
  431 011101101111
  432 111000101111
  433 001101110110
  434 110011110000
  435 000111011111
  436 011100110010
  437 001101101110
  438 101010100010
  439 111110110010
  440 111101000100
  441 001010101000
  442 001100101001
  443 111010101000
  444 010110000100
  445 110111001000
  446 111100000110
  447 001110001011
  448 011111111100
  449 110011100000
  450 001010011100
  451 110011001000
  452 001001110101
  453 001010110110
  454 110010100101
  455 100000111111
  456 110010000100
  457 110110100100
  458 001011101101
  459 000110000010
  460 001100000111
  461 010011100110
  462 001010101011
  463 111001101000
  464 110111010010
  465 110111001100
  466 010000111100
  467 010111100110
  468 001111111111
  469 011010111010
  470 100111011100
  471 011011011010
  472 001000001110
  473 111010100101
  474 100001011000
  475 011001110011
  476 100111011000
  477 111111101000
  478 010111011010
  479 111011111000
  480 001010101110
  481 000010010111
  482 110011000010
  483 100000111010
  484 110000001111
  485 011110111101
  486 101011011001
  487 011110011111
  488 100001111010
  489 111001010110
  490 100001010000
  491 011000100000
  492 111001011000
  493 000100110011
  494 010110111101
  495 010111000100
  496 100111011101
  497 100000011010
  498 010110111001
  499 010101001110
  500 110001001001
  501 111100010001
  502 111010110011
  503 100100010100
  504 000100100000
  505 100100110010
  506 111011100000
  507 111010110010
  508 110110100110
  509 001001010001
  510 010110100111
  511 111001101100
  512 000111111001
  513 011100000110
  514 011011010010
  515 001010111000
  516 001100000010
  517 100001110001
  518 011101110111
  519 010101010100
  520 111100111001
  521 010000010101
  522 011110011110
  523 000011110100
  524 000111100100
  525 100100011000
  526 101000011011
  527 111010000100
  528 000001000111
  529 111111011111
  530 000111010101
  531 000111100101
  532 000000001101
  533 000011100001
  534 101000100111
  535 100111010001
  536 001110101010
  537 101101110001
  538 101000111001
  539 001101100011
  540 101110000111
  541 100111110010
  542 010001111111
  543 100111000010
  544 100111101111
  545 111011110110
  546 100111000100
  547 000011111110
  548 001010000101
  549 111011111110
  550 010010101111
  551 010011001110
  552 110100000001
  553 110101110001
  554 000010001101
  555 000110001010
  556 101111110010
  557 111111001000
  558 001001100001
  559 110001110100
  560 110111111011
  561 000010000101
  562 111100111000
  563 010000000010
  564 001110111001
  565 111000110111
  566 000010000001
  567 111111010010
  568 010010001010
  569 001110010111
  570 000111111110
  571 100101000001
  572 000001110111
  573 101000010000
  574 100011011001
  575 010000101101
  576 011101000110
  577 110011001011
  578 110100011010
  579 100111000101
  580 011000000100
  581 110010101110
  582 001000101110
  583 100010111111
  584 100011111011
  585 001101010001
  586 111000100100
  587 100101100100
  588 001000100001
  589 000011000101
  590 001000110001
  591 110110011011
  592 100110010111
  593 110000011101
  594 000010000010
  595 011111001111
  596 000100111000
  597 100001011011
  598 110010000000
  599 000100010100
  600 011000101001
  601 100111011011
  602 110000101101
  603 111000110011
  604 101100010111
  605 101001100110
  606 110011111011
  607 100110100110
  608 100111111111
  609 100100101010
  610 001000011111
  611 000110101101
  612 110111100001
  613 100111000110
  614 100111110110
  615 111111100000
  616 100010001011
  617 100000000010
  618 110001001000
  619 101101001110
  620 111101110011
  621 010111001111
  622 011111010100
  623 110111000101
  624 010010001110
  625 010111100010
  626 111110010011
  627 001100011011
  628 100000110111
  629 010111110110
  630 001100011101
  631 010010010111
  632 110011001101
  633 000111101110
  634 011000001111
  635 010100000000
  636 110001101001
  637 101101010111
  638 110111010100
  639 101010010111
  640 001110111110
  641 101001000111
  642 011010010110
  643 010000101100
  644 110000111111
  645 011101010000
  646 010110001101
  647 010101000101
  648 101101001000
  649 100010110001
  650 101000110101
  651 111101010101
  652 010011111100
  653 100010100110
  654 011001111001
  655 000110001001
  656 101100000101
  657 000101011010
  658 100100011110
  659 100000110011
  660 100011000101
  661 110001011010
  662 111100000111
  663 001100110111
  664 011010110000
  665 011000000111
  666 111101101011
  667 011101110101
  668 010100011110
  669 010101100011
  670 000100010000
  671 010111001011
  672 101110100001
  673 110110110101
  674 000010100111
  675 001011000110
  676 110110101100
  677 010001100010
  678 011110110111
  679 110100001100
  680 000110001100
  681 001101001100
  682 101010111011
  683 000001101100
  684 011110101101
  685 110100000000
  686 011011100111
  687 000010101001
  688 100111110101
  689 000101000101
  690 010011010111
  691 111101010100
  692 110110101101
  693 110011011100
  694 110011011001
  695 000111010111
  696 110100011110
  697 000110011010
  698 110110100000
  699 111110101101
  700 001100111000
  701 101111000110
  702 011011000010
  703 000000001001
  704 010100111110
  705 100010000110
  706 001110111101
  707 010001011100
  708 101001111101
  709 110101110000
  710 001111101111
  711 100101111101
  712 110100111101
  713 000100001000
  714 111011110101
  715 001011001000
  716 011101010111
  717 101000000101
  718 011111111001
  719 111001011011
  720 010001110001
  721 010001110011
  722 001100111001
  723 100101110010
  724 100010100010
  725 110011111001
  726 111011101011
  727 001101110011
  728 000011011010
  729 101000010111
  730 000011010001
  731 101000010010
  732 000011101111
  733 011100001100
  734 110110011001
  735 011101000001
  736 010011011001
  737 111010010011
  738 001011000111
  739 010111100101
  740 101001111011
  741 101111011011
  742 011011001100
  743 010100110000
  744 000111100011
  745 010111111011
  746 100101101010
  747 010001100000
  748 111110100011
  749 100101011101
  750 011011011011
  751 111101011001
  752 001000011101
  753 101111110011
  754 100100100110
  755 010111100111
  756 110000001101
  757 000001010011
  758 100001010100
  759 101101000100
  760 110100101101
  761 110001100011
  762 110000111010
  763 101111011010
  764 011011100000
  765 100101100110
  766 010110010001
  767 101000011000
  768 011001110100
  769 001110001100
  770 100100110100
  771 001110101011
  772 000110000100
  773 101000110001
  774 101101110010
  775 011100001110
  776 111011010011
  777 011001110001
  778 110101100000
  779 110000010011
  780 010111101111
  781 101111101111
  782 010110100000
  783 111111011011
  784 100110000110
  785 011000111100
  786 110010111110
  787 001000001101
  788 011101011010
  789 001010110101
  790 100110001100
  791 101000000011
  792 110001010011
  793 100001011111
  794 000001101001
  795 100001101101
  796 011100100000
  797 011011000110
  798 001110111011
  799 100111100101
  800 001110000000
  801 110101001101
  802 101100101100
  803 001110000001
  804 110000011010
  805 101100110010
  806 011010100010
  807 111101111010
  808 110001111100
  809 011110101000
  810 110011011000
  811 110100000111
  812 100000000111
  813 101100101110
  814 011001000011
  815 011011100110
  816 101001000001
  817 001100100101
  818 011011110011
  819 110110001011
  820 000101011110
  821 010011110101
  822 110101001010
  823 111110101010
  824 110111010001
  825 010111001101
  826 001101011000
  827 011001011011
  828 011101000010
  829 101010111110
  830 010010000101
  831 100100010010
  832 110010000010
  833 000000001110
  834 100110011100
  835 000110100111
  836 000000011011
  837 111011010000
  838 100001111000
  839 000010010011
  840 110010000101
  841 011001101111
  842 010010000110
  843 101000110100
  844 010111010110
  845 011010110010
  846 001101110001
  847 001101000100
  848 001001101011
  849 010111110101
  850 100100110101
  851 000101011011
  852 110110000111
  853 000100110001
  854 111111110011
  855 111010110000
  856 000000110001
  857 010011101001
  858 111110011101
  859 101011100100
  860 001010100101
  861 010111111100
  862 010101100100
  863 011010000000
  864 010111111111
  865 111001100011
  866 111001011110
  867 010011111010
  868 001010101100
  869 110001100101
  870 011000011110
  871 001111010010
  872 010110001110
  873 011101011110
  874 101100011010
  875 000000001000
  876 000000000000
  877 100000011000
  878 101000001111
  879 101101010010
  880 001010110010
  881 101111001001
  882 111000000001
  883 010011001010
  884 110000000101
  885 101101101000
  886 110011110111
  887 111101010110
  888 111011011011
  889 100011101100
  890 101100011011
  891 000011010110
  892 111100111101
  893 110000100100
  894 001111110111
  895 011110011101
  896 010001010110
  897 101000001110
  898 101010101110
  899 010110000011
  900 100001100000
  901 000001000011
  902 110011100010
  903 000101000110
  904 010010110110
  905 100111100011
  906 000110100100
  907 110100101110
  908 001101100101
  909 110000100000
  910 110001100110
  911 110010000001
  912 010010011011
  913 101111001010
  914 101010010110
  915 001001001100
  916 011001110010
  917 111010100100
  918 000001000100
  919 010101101001
  920 101001100011
  921 010010100100
  922 010111001010
  923 101000000100
  924 011001010100
  925 101110000110
  926 011010000111
  927 101001110001
  928 111000011110
  929 010011000111
  930 111000100111
  931 010101010011
  932 010010101010
  933 011110011001
  934 110010011101
  935 110100001001
  936 011111001001
  937 011110100011
  938 100100001111
  939 000010100101
  940 110010010111
  941 111111000101
  942 000001010100
  943 001000011110
  944 011101001110
  945 111001100101
  946 111110011110
  947 000110111100
  948 110001001110
  949 011001010111
  950 101100011101
  951 010000001001
  952 100100011101
  953 101001101000
  954 100011110101
  955 100110101101
  956 000001111001
  957 011110010001
  958 001001011001
  959 110111100111
  960 100000010111
  961 011110010010
  962 000011110000
  963 111011110111
  964 101110110010
  965 000111010100
  966 010010101001
  967 000011010010
  968 101010001011
  969 111100101100
  970 111101101111
  971 101001011111
  972 101110001010
  973 010101011110
  974 101001001101
  975 100010111100
  976 011110111001
  977 110100111110
  978 001101000011
  979 000111100010
  980 100111110011
  981 010111011011
  982 101010111100
  983 100111111110
  984 001111001011
  985 000101110001
  986 001000001010
  987 010001101101
  988 101101001101
  989 111100010000
  990 011110000110
  991 100011101110
  992 111100001110
  993 101000100010
  994 101010100101
  995 110011010111
  996 110010101010
  997 110110111111
  998 010010110011
  999 000111110010
 1000 111100110011