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