advent-of-code

Perserverance, or the lack thereof

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

input.txt (12339B)

    1 --- scanner 0 ---
    2 562,-830,765
    3 477,603,962
    4 653,638,963
    5 519,630,969
    6 484,-859,699
    7 566,901,-526
    8 -556,-387,-739
    9 -556,-734,606
   10 550,725,-495
   11 -325,554,-668
   12 590,-625,-615
   13 -541,-810,749
   14 -30,-66,159
   15 517,-703,-550
   16 -597,516,531
   17 -652,-836,647
   18 -459,-333,-629
   19 -723,455,466
   20 453,-635,-512
   21 -525,450,418
   22 539,-867,749
   23 -368,643,-618
   24 479,808,-450
   25 128,4,70
   26 -328,822,-676
   27 -389,-445,-710
   28 
   29 --- scanner 1 ---
   30 882,-359,-895
   31 -568,-692,717
   32 853,785,496
   33 846,708,399
   34 -512,-419,-524
   35 -526,-543,-674
   36 372,-764,479
   37 -571,-621,-509
   38 -520,439,-794
   39 458,-684,545
   40 927,754,376
   41 83,-74,-82
   42 -34,16,42
   43 -335,458,283
   44 -546,559,-745
   45 -538,389,-663
   46 850,804,-669
   47 -501,-835,677
   48 -294,593,263
   49 875,812,-738
   50 916,-458,-747
   51 848,-422,-693
   52 820,624,-698
   53 -379,-734,665
   54 368,-806,548
   55 -300,658,258
   56 
   57 --- scanner 2 ---
   58 -598,871,923
   59 -725,-690,876
   60 439,339,640
   61 437,344,708
   62 279,578,-430
   63 -839,379,-410
   64 307,290,735
   65 -703,869,980
   66 -401,-616,-550
   67 781,-856,507
   68 17,-53,24
   69 297,447,-579
   70 816,-803,434
   71 -648,-694,693
   72 500,-784,-460
   73 825,-850,663
   74 -516,-701,-538
   75 -862,349,-357
   76 -854,339,-497
   77 -737,-670,672
   78 -570,773,967
   79 -495,-678,-483
   80 -160,47,167
   81 259,416,-419
   82 476,-871,-404
   83 629,-843,-413
   84 
   85 --- scanner 3 ---
   86 747,692,-828
   87 705,744,-639
   88 798,-590,547
   89 634,-482,-636
   90 662,466,594
   91 703,520,540
   92 -445,310,-872
   93 -548,-650,547
   94 -645,285,-907
   95 556,-647,-681
   96 -376,-636,-669
   97 696,636,550
   98 432,-497,-695
   99 -623,301,435
  100 -426,-767,-687
  101 592,-610,537
  102 -481,-628,436
  103 -546,-718,-661
  104 -24,26,-35
  105 721,-683,527
  106 848,704,-706
  107 -580,290,-913
  108 137,-123,-61
  109 -602,423,528
  110 -616,385,388
  111 -511,-653,633
  112 
  113 --- scanner 4 ---
  114 -605,534,764
  115 -407,-493,-557
  116 588,-470,-451
  117 -580,628,732
  118 895,644,417
  119 763,699,444
  120 913,653,-385
  121 904,424,-432
  122 610,-346,560
  123 564,-414,-364
  124 801,568,536
  125 -313,-560,-619
  126 -649,662,-565
  127 869,497,-379
  128 -560,683,-541
  129 -849,-480,489
  130 699,-291,570
  131 -637,866,-545
  132 -428,-548,-534
  133 -25,61,-27
  134 717,-423,-392
  135 -553,682,724
  136 -747,-519,346
  137 -743,-541,380
  138 617,-350,465
  139 
  140 --- scanner 5 ---
  141 -689,657,543
  142 650,-504,353
  143 -274,-731,537
  144 -578,-485,-920
  145 721,417,-745
  146 -266,-756,468
  147 -568,605,-500
  148 927,-725,-368
  149 475,775,418
  150 -639,639,412
  151 -518,478,-386
  152 721,-591,348
  153 -683,-488,-858
  154 527,719,483
  155 653,422,-747
  156 -513,450,-508
  157 -519,665,461
  158 626,368,-877
  159 438,774,421
  160 698,-772,-359
  161 -17,106,-30
  162 -545,-547,-899
  163 854,-778,-403
  164 -454,-701,508
  165 660,-444,285
  166 81,-16,-139
  167 
  168 --- scanner 6 ---
  169 550,-633,675
  170 -565,340,-543
  171 -272,-440,658
  172 -462,484,770
  173 -306,-623,-345
  174 746,748,735
  175 -229,-575,-481
  176 838,710,604
  177 -208,-429,598
  178 -329,-682,-421
  179 -339,492,602
  180 -459,457,721
  181 558,-606,621
  182 600,-861,-663
  183 -595,402,-598
  184 135,4,-65
  185 -326,-420,468
  186 608,-733,-633
  187 -522,348,-558
  188 492,531,-624
  189 539,702,-692
  190 518,-658,769
  191 91,-125,78
  192 694,-765,-573
  193 865,842,659
  194 541,541,-568
  195 
  196 --- scanner 7 ---
  197 530,361,682
  198 38,-173,51
  199 776,-905,-578
  200 -728,-808,-653
  201 581,470,-696
  202 -640,-519,731
  203 -808,-642,739
  204 -706,-827,-588
  205 -891,786,-728
  206 654,359,521
  207 520,-702,875
  208 -656,-763,-757
  209 -759,-639,766
  210 -771,727,-666
  211 388,477,-693
  212 -790,799,-718
  213 530,488,-723
  214 -697,685,381
  215 505,-745,883
  216 623,-972,-633
  217 -86,-5,112
  218 560,-775,821
  219 659,-897,-513
  220 -773,566,475
  221 -642,658,513
  222 586,312,692
  223 
  224 --- scanner 8 ---
  225 418,475,749
  226 670,-563,947
  227 451,550,938
  228 16,55,-3
  229 920,428,-411
  230 886,329,-263
  231 852,392,-465
  232 -516,-469,-364
  233 -567,591,-649
  234 -534,-419,-495
  235 -327,-595,556
  236 879,-842,-420
  237 -482,-540,548
  238 -524,598,480
  239 824,-654,-460
  240 611,-425,906
  241 -534,587,613
  242 608,-530,968
  243 -355,-590,434
  244 -542,-589,-413
  245 511,530,797
  246 -522,513,-484
  247 130,-53,118
  248 -508,389,-634
  249 854,-834,-489
  250 -475,513,623
  251 
  252 --- scanner 9 ---
  253 -808,-717,-532
  254 801,462,-427
  255 -725,-674,-509
  256 -404,578,473
  257 -400,537,482
  258 -677,620,-628
  259 -805,-722,-668
  260 512,-551,-714
  261 689,389,-392
  262 737,-639,448
  263 -553,539,430
  264 618,459,-517
  265 853,-526,493
  266 -731,632,-577
  267 -21,148,79
  268 458,-752,-701
  269 628,479,505
  270 597,442,601
  271 -660,-509,702
  272 -584,-719,707
  273 -876,668,-590
  274 -626,-525,747
  275 459,-614,-745
  276 796,-677,518
  277 588,521,668
  278 
  279 --- scanner 10 ---
  280 -389,811,-591
  281 -444,839,-381
  282 -419,808,-580
  283 -645,498,763
  284 -643,-474,502
  285 650,744,484
  286 -160,-15,10
  287 685,-640,-569
  288 -584,-485,-673
  289 654,-733,-711
  290 -689,-428,-758
  291 376,888,-343
  292 13,81,-49
  293 384,891,-611
  294 434,848,-522
  295 749,-447,913
  296 685,-446,771
  297 -688,-540,570
  298 -594,380,787
  299 682,-794,-523
  300 496,724,531
  301 -35,147,138
  302 777,-298,807
  303 -625,-499,-773
  304 -651,446,630
  305 -650,-513,512
  306 561,641,405
  307 
  308 --- scanner 11 ---
  309 -277,605,-470
  310 569,553,-635
  311 548,613,483
  312 -405,-574,726
  313 -248,697,-547
  314 579,668,645
  315 450,-944,665
  316 493,-867,839
  317 77,-78,31
  318 -610,506,539
  319 -301,-619,654
  320 431,-463,-525
  321 -256,717,-571
  322 438,-438,-424
  323 -425,-410,-625
  324 -470,-555,704
  325 -480,-477,-778
  326 479,-541,-377
  327 -680,474,573
  328 543,566,640
  329 491,-860,658
  330 469,539,-594
  331 484,610,-530
  332 -726,662,543
  333 -545,-485,-661
  334 
  335 --- scanner 12 ---
  336 -671,538,406
  337 -504,-417,579
  338 588,613,-492
  339 538,579,-465
  340 706,-659,-613
  341 -80,-112,49
  342 -665,-581,-479
  343 -623,454,433
  344 -512,687,-475
  345 -526,702,-479
  346 739,478,781
  347 -682,-583,-625
  348 -488,559,475
  349 724,557,677
  350 -533,-418,468
  351 774,-649,-673
  352 -671,-502,-530
  353 657,505,736
  354 520,532,-480
  355 337,-509,343
  356 389,-528,415
  357 -531,840,-522
  358 327,-408,356
  359 711,-588,-526
  360 -497,-526,479
  361 
  362 --- scanner 13 ---
  363 347,-554,-848
  364 736,679,-606
  365 -768,-718,-534
  366 593,-688,575
  367 603,-681,459
  368 -888,-665,-419
  369 -798,681,-796
  370 580,654,-689
  371 385,-701,-885
  372 -759,660,-569
  373 -586,-690,351
  374 -782,722,-614
  375 -860,595,805
  376 -775,-732,403
  377 488,638,794
  378 581,617,672
  379 566,686,-568
  380 -819,460,785
  381 -813,-759,-528
  382 -653,-833,391
  383 647,-647,629
  384 440,-574,-952
  385 -103,-73,-96
  386 441,631,710
  387 -854,660,810
  388 
  389 --- scanner 14 ---
  390 508,747,792
  391 -423,439,460
  392 632,586,790
  393 -334,-589,852
  394 628,-492,-445
  395 -743,-292,-685
  396 -431,563,-813
  397 -296,-582,862
  398 576,576,839
  399 -14,-19,106
  400 523,-541,-531
  401 627,-720,637
  402 48,87,-35
  403 -609,-418,-674
  404 -377,-596,788
  405 537,-816,731
  406 469,406,-620
  407 -506,374,-780
  408 -560,-303,-711
  409 -343,437,413
  410 -317,344,529
  411 -486,515,-720
  412 567,-492,-491
  413 607,365,-561
  414 567,-688,723
  415 574,344,-623
  416 
  417 --- scanner 15 ---
  418 624,522,626
  419 -539,-442,-496
  420 794,478,592
  421 740,532,633
  422 124,2,6
  423 446,-877,-721
  424 -431,-565,817
  425 837,544,-672
  426 959,637,-693
  427 827,-495,840
  428 -556,-466,892
  429 -610,-381,-335
  430 -403,559,-741
  431 -720,740,646
  432 576,-890,-606
  433 -524,545,-709
  434 848,-440,637
  435 739,-455,751
  436 -787,685,519
  437 -354,-463,829
  438 -538,-408,-462
  439 875,684,-686
  440 477,-942,-607
  441 -441,389,-734
  442 -683,778,499
  443 
  444 --- scanner 16 ---
  445 -503,-550,528
  446 688,-760,424
  447 -696,511,-657
  448 -65,89,-87
  449 -586,-702,-495
  450 -660,366,-644
  451 -407,-460,434
  452 -645,-778,-472
  453 -693,-642,-395
  454 585,-422,-451
  455 622,839,292
  456 -535,-490,442
  457 -641,373,303
  458 576,839,504
  459 333,485,-750
  460 593,-753,253
  461 661,-391,-484
  462 -627,454,377
  463 660,899,490
  464 567,-767,425
  465 505,-414,-503
  466 -634,411,313
  467 -708,565,-606
  468 420,390,-737
  469 270,428,-706
  470 
  471 --- scanner 17 ---
  472 588,-461,-663
  473 424,413,-783
  474 621,785,311
  475 819,780,359
  476 421,681,-775
  477 -475,-548,-502
  478 128,-55,-99
  479 671,-335,-598
  480 -381,632,855
  481 464,592,-725
  482 -582,-549,-643
  483 -454,510,-602
  484 -383,427,-557
  485 29,23,43
  486 -423,605,862
  487 568,-414,-509
  488 -461,-808,374
  489 -557,597,856
  490 -470,334,-633
  491 429,-588,733
  492 436,-528,632
  493 -602,-631,-531
  494 -532,-768,459
  495 405,-540,507
  496 -482,-786,618
  497 693,719,424
  498 
  499 --- scanner 18 ---
  500 638,749,-613
  501 -305,-797,-544
  502 703,-545,-578
  503 752,-571,-698
  504 -316,551,-501
  505 -498,727,360
  506 -493,743,475
  507 621,-553,-748
  508 -438,644,-522
  509 -325,-756,-679
  510 -506,758,408
  511 -300,-791,-479
  512 -366,-666,668
  513 56,-48,95
  514 743,-436,379
  515 -302,-707,833
  516 635,663,-576
  517 791,421,805
  518 724,481,734
  519 -354,-672,738
  520 681,-491,468
  521 893,516,708
  522 746,-435,416
  523 -83,101,16
  524 -400,504,-508
  525 613,552,-643
  526 
  527 --- scanner 19 ---
  528 -710,556,-573
  529 733,-670,468
  530 749,663,-743
  531 536,434,623
  532 -236,-921,847
  533 690,525,-784
  534 512,-947,-253
  535 793,-680,400
  536 -223,-820,837
  537 -545,358,812
  538 -456,-803,-356
  539 -337,-727,-262
  540 46,-64,92
  541 -663,624,-402
  542 481,246,583
  543 646,-741,463
  544 506,254,652
  545 752,558,-805
  546 184,-9,-27
  547 465,-718,-244
  548 -295,-801,785
  549 -661,500,-563
  550 -534,500,842
  551 -552,551,815
  552 459,-874,-288
  553 -364,-672,-394
  554 
  555 --- scanner 20 ---
  556 611,807,-820
  557 483,-791,469
  558 507,-279,-620
  559 -390,903,473
  560 879,815,-817
  561 573,-392,-548
  562 -783,-396,756
  563 -753,-610,-604
  564 90,125,-32
  565 -750,-547,673
  566 -294,821,424
  567 -276,768,-686
  568 -330,878,-589
  569 700,757,-777
  570 679,-817,484
  571 -746,-482,819
  572 39,-12,105
  573 512,-327,-422
  574 511,537,804
  575 563,-764,410
  576 -677,-467,-589
  577 -779,-508,-493
  578 699,509,865
  579 -252,911,442
  580 -388,849,-756
  581 653,506,711
  582 
  583 --- scanner 21 ---
  584 394,873,505
  585 748,912,-413
  586 -616,-568,672
  587 -360,781,474
  588 795,809,-454
  589 511,865,570
  590 -26,115,-75
  591 640,-520,360
  592 -617,433,-896
  593 817,-799,-375
  594 782,-509,390
  595 -446,481,-839
  596 -393,-410,-424
  597 801,-682,-413
  598 -513,-524,572
  599 -421,798,503
  600 -473,810,385
  601 -320,-402,-495
  602 -335,-362,-444
  603 -530,593,-869
  604 760,-800,-551
  605 -641,-536,667
  606 99,14,-155
  607 547,940,450
  608 647,887,-406
  609 589,-502,387
  610 
  611 --- scanner 22 ---
  612 504,-335,-736
  613 681,749,-470
  614 -12,141,11
  615 469,800,467
  616 -586,627,-581
  617 -538,-667,-700
  618 559,-273,-706
  619 -458,-715,-541
  620 439,928,459
  621 534,-474,400
  622 621,642,-370
  623 -164,45,-51
  624 478,-464,351
  625 757,690,-447
  626 529,832,553
  627 544,-281,-663
  628 -394,694,328
  629 -415,-232,661
  630 -521,-327,730
  631 -475,708,402
  632 410,-635,398
  633 -387,675,-619
  634 -532,639,-632
  635 -441,-325,777
  636 -455,-710,-677
  637 -432,701,338
  638 
  639 --- scanner 23 ---
  640 345,-850,775
  641 -401,765,426
  642 -395,-540,528
  643 -366,287,-664
  644 -589,719,456
  645 786,-612,-947
  646 -453,-445,-647
  647 -524,-430,-711
  648 -497,-504,523
  649 403,-742,835
  650 613,625,-450
  651 -450,-509,366
  652 436,-837,764
  653 410,509,360
  654 372,695,429
  655 -510,-530,-752
  656 -557,649,422
  657 422,729,394
  658 -52,42,-80
  659 564,475,-398
  660 112,-12,33
  661 814,-822,-892
  662 564,652,-506
  663 -346,295,-688
  664 -458,316,-587
  665 783,-623,-917
  666 
  667 --- scanner 24 ---
  668 -784,-501,379
  669 326,-448,397
  670 -147,42,69
  671 -665,808,709
  672 375,-366,493
  673 -854,-420,491
  674 294,570,379
  675 -687,-391,433
  676 -838,311,-528
  677 -875,-512,-597
  678 -616,752,736
  679 472,547,-346
  680 458,506,-446
  681 -866,366,-738
  682 -915,-454,-776
  683 767,-760,-596
  684 406,671,400
  685 344,-358,355
  686 -616,860,559
  687 -918,-462,-508
  688 314,594,371
  689 -835,341,-539
  690 706,-732,-408
  691 401,611,-361
  692 613,-763,-550
  693 
  694 --- scanner 25 ---
  695 778,-682,-808
  696 -832,-786,-674
  697 703,-887,484
  698 -587,854,-765
  699 800,722,449
  700 -542,447,561
  701 72,-122,-75
  702 -624,-536,343
  703 848,800,597
  704 841,825,496
  705 879,-886,427
  706 786,396,-767
  707 -518,505,471
  708 -586,-452,349
  709 -823,-755,-671
  710 1,27,16
  711 785,-782,-699
  712 -540,449,382
  713 749,-793,-807
  714 841,-769,443
  715 -645,816,-621
  716 788,403,-586
  717 -676,-430,435
  718 829,319,-593
  719 -459,828,-682
  720 -867,-656,-574
  721 
  722 --- scanner 26 ---
  723 -447,435,685
  724 600,605,-597
  725 -736,-480,773
  726 -830,-402,708
  727 507,-609,576
  728 593,-646,573
  729 613,623,606
  730 593,700,513
  731 705,-721,-378
  732 -809,-749,-891
  733 -334,500,634
  734 -822,-634,-761
  735 -427,812,-510
  736 603,494,533
  737 -874,-635,-860
  738 -306,510,725
  739 -387,723,-598
  740 77,-13,-11
  741 612,-700,-500
  742 752,-714,-462
  743 590,598,-713
  744 -807,-445,729
  745 -372,609,-489
  746 704,-579,551
  747 546,564,-543
  748 
  749 --- scanner 27 ---
  750 775,-780,422
  751 682,-896,448
  752 -565,-662,754
  753 533,-519,-527
  754 -782,814,-434
  755 -872,-646,-527
  756 726,544,-537
  757 -847,684,586
  758 -662,739,-398
  759 734,587,-552
  760 -660,-650,626
  761 -83,-35,144
  762 372,-517,-403
  763 -729,672,534
  764 -845,-628,-476
  765 672,617,-497
  766 -560,-694,729
  767 543,-470,-471
  768 -146,-163,-12
  769 -727,747,-281
  770 297,558,462
  771 680,-849,528
  772 292,422,465
  773 340,581,545
  774 -758,655,473
  775 -842,-635,-669
  776 
  777 --- scanner 28 ---
  778 440,-491,816
  779 396,587,-713
  780 -152,115,188
  781 -969,734,-609
  782 352,832,875
  783 597,-662,-622
  784 -880,-620,-358
  785 -720,701,399
  786 703,-570,-686
  787 652,-667,-664
  788 -658,-229,461
  789 443,-518,902
  790 -869,627,-669
  791 -614,-292,518
  792 361,-573,748
  793 -54,95,-4
  794 -758,749,598
  795 -913,-544,-389
  796 300,830,722
  797 393,524,-733
  798 343,791,871
  799 -861,-464,-381
  800 -707,737,544
  801 400,632,-804
  802 -892,686,-745
  803 -627,-379,423
  804 
  805 --- scanner 29 ---
  806 -606,518,439
  807 550,-555,408
  808 -620,935,-493
  809 709,563,312
  810 529,-409,-886
  811 507,761,-791
  812 -602,830,-472
  813 -38,20,-55
  814 -529,907,-587
  815 -568,454,507
  816 -795,-555,755
  817 429,783,-863
  818 -695,-780,-752
  819 693,540,275
  820 499,-381,-900
  821 591,-651,306
  822 -803,-806,-873
  823 419,615,-823
  824 693,-540,332
  825 643,485,283
  826 -752,-836,-902
  827 -685,-458,809
  828 611,-298,-896
  829 -766,-388,697
  830 -671,591,517
  831 
  832 --- scanner 30 ---
  833 798,-374,-506
  834 -616,426,-665
  835 -634,399,-614
  836 376,-427,576
  837 695,-415,-459
  838 292,-386,583
  839 681,534,622
  840 751,609,-743
  841 -820,-466,797
  842 -945,404,706
  843 773,-367,-607
  844 -932,394,807
  845 369,-429,757
  846 662,469,644
  847 -913,-336,-437
  848 -709,-437,798
  849 -809,-430,689
  850 617,365,572
  851 826,489,-707
  852 -796,-374,-453
  853 759,544,-860
  854 -914,-512,-494
  855 -86,-83,17
  856 -23,67,-114
  857 -873,456,687
  858 -623,429,-472
  859 
  860 --- scanner 31 ---
  861 -666,817,-551
  862 528,850,-390
  863 292,-387,795
  864 -753,-658,341
  865 567,608,629
  866 -826,707,624
  867 550,754,631
  868 37,121,-88
  869 315,-338,-717
  870 -756,-659,378
  871 -706,872,-363
  872 408,924,-421
  873 -821,620,553
  874 356,-428,630
  875 -762,-523,-736
  876 295,-297,-582
  877 290,-303,-517
  878 431,843,-467
  879 -889,560,563
  880 -40,-22,14
  881 344,-422,700
  882 -631,-541,-786
  883 -637,847,-371
  884 556,703,710
  885 -691,-603,430
  886 -713,-549,-616
  887 
  888 --- scanner 32 ---
  889 -704,318,-798
  890 -521,315,-708
  891 -455,724,733
  892 19,-67,-121
  893 -447,708,533
  894 966,543,312
  895 885,557,386
  896 774,476,-597
  897 828,488,-648
  898 973,524,-635
  899 -374,682,612
  900 147,-16,9
  901 -497,-857,457
  902 -577,-822,495
  903 -576,-758,400
  904 945,-383,645
  905 839,-478,714
  906 -362,-758,-480
  907 902,-866,-557
  908 -592,245,-833
  909 919,-476,761
  910 -361,-896,-524
  911 822,-818,-716
  912 905,-861,-693
  913 928,550,322
  914 -415,-695,-511
  915 
  916 --- scanner 33 ---
  917 -580,-464,-646
  918 -109,8,-50
  919 -534,-655,474
  920 -667,-469,-717
  921 546,546,330
  922 -519,-637,521
  923 430,393,-715
  924 -465,568,454
  925 403,261,-660
  926 522,355,-584
  927 -727,-401,-707
  928 623,-451,499
  929 727,-436,420
  930 302,-848,-466
  931 20,-117,-182
  932 451,539,334
  933 -393,287,-513
  934 361,-786,-586
  935 -399,243,-669
  936 -406,439,407
  937 -546,-587,555
  938 -446,252,-440
  939 -378,592,398
  940 556,457,275
  941 289,-838,-567
  942 682,-518,447