Hadopire / adventofcode_2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

total runtime (i7 12700k): ~200ms

$> odin run . -o:speed -- -bench
d01 -- 0.056ms
   part 1: 67450
   part 2: 199357
d02 -- 0.033ms
   part 1: 9241
   part 2: 14610
d03 -- 0.030ms
   part 1: 7553
   part 2: 2758
d04 -- 0.083ms
   part 1: 413
   part 2: 806
d05 -- 0.074ms
   part 1: DHBJQJCCW
   part 2: WJVRLSJJT
d06 -- 0.003ms
   part 1: 1142
   part 2: 2803
d07 -- 0.039ms
   part 1: 1783610
   part 2: 4370655
d08 -- 0.331ms
   part 1: 1700
   part 2: 470596
d09 -- 0.915ms
   part 1: 6256
   part 2: 2665
d10 -- 0.004ms
   part 1: 14760
   part 2: ####.####..##..####.###..#..#.###..####.
           #....#....#..#.#....#..#.#..#.#..#.#....
           ###..###..#....###..#..#.#..#.#..#.###..
           #....#....#.##.#....###..#..#.###..#....
           #....#....#..#.#....#.#..#..#.#.#..#....
           ####.#.....###.####.#..#..##..#..#.####.
d11 -- 6.283ms
   part 1: 113220
   part 2: 30599555965
d12 -- 0.066ms
   part 1: 456
   part 2: 454
d13 -- 0.274ms
   part 1: 6420
   part 2: 22000
d14 -- 2.918ms
   part 1: 757
   part 2: 24943
d15 -- 36.738ms
   part 1: 5240818
   part 2: 13213086906101
d16 -- 11.623ms
   part 1: 1716
   part 2: 2504
d17 -- 1.410ms
   part 1: 3133
   part 2: 1547953216393
d18 -- 0.984ms
   part 1: 4608
   part 2: 2652
d19 -- 50.704ms
   part 1: 1681
   part 2: 5394
d20 -- 40.447ms
   part 1: 3473
   part 2: 7496649006261
d21 -- 0.462ms
   part 1: 353837700405464
   part 2: 3678125408017
d22 -- 0.521ms
   part 1: 123046
   part 2: 195032
d23 -- 36.492ms
   part 1: 3940
   part 2: 990
d24 -- 0.275ms
   part 1: 281
   part 2: 807
d25 -- 0.005ms
   part 1: 2-0==21--=0==2201==2
   part 2: 0
total -  190.768 ms

About


Languages

Language:Odin 100.0%