aoc-2021-rust

Advent of Code 2021 Solutions in Rust
git clone https://git.sinitax.com/sinitax/aoc-2021-rust
Log | Files | Refs | README | sfeed.txt

input (3381B)


      1[4,[3,[9,[9,0]]]]
      2[[[7,6],[2,[2,5]]],[5,[[7,3],8]]]
      3[4,[4,6]]
      4[[0,[5,6]],[[[1,3],[2,7]],[[0,6],4]]]
      5[6,[[3,[6,0]],3]]
      6[[7,[9,[8,5]]],[6,7]]
      7[[[[2,6],1],2],[3,[8,4]]]
      8[4,[[[5,4],[2,7]],[[8,0],[2,3]]]]
      9[[[[4,3],2],[[3,6],[2,5]]],[[[3,7],8],0]]
     10[[[8,[0,7]],1],[[9,[3,9]],9]]
     11[[[[3,0],[1,3]],[[0,9],8]],[[[7,2],9],[[1,4],[3,5]]]]
     12[[[[9,6],[4,4]],[1,3]],[[4,3],[[6,4],[8,4]]]]
     13[[[1,2],[[7,6],[2,3]]],[[4,6],[4,2]]]
     14[[[4,8],[[5,8],1]],[2,3]]
     15[[[5,2],[3,[5,7]]],[[2,9],5]]
     16[[[6,[3,2]],[2,6]],[[8,[4,2]],[[5,2],7]]]
     17[[[[2,6],[0,1]],[7,[3,6]]],[[1,6],[[7,9],0]]]
     18[[[0,3],[8,1]],[[[9,0],3],[0,2]]]
     19[[8,[[7,1],[4,7]]],[[0,[1,3]],[8,2]]]
     20[[[[2,3],4],[[0,8],[9,0]]],[1,[[5,3],4]]]
     21[[[[7,2],2],[[1,3],[8,3]]],[4,[[7,9],[0,6]]]]
     22[[[[2,2],[3,4]],[[1,5],[4,3]]],[6,[[7,2],1]]]
     23[1,[[[5,7],0],[9,[8,8]]]]
     24[[[[9,2],[0,9]],[4,[7,8]]],[[4,8],[[1,8],[4,9]]]]
     25[[[[4,7],2],2],4]
     26[1,[[2,[4,2]],1]]
     27[[[[7,2],[3,8]],[0,[1,3]]],[[[4,4],[2,4]],[8,2]]]
     28[[[[1,0],[0,5]],2],[[9,[5,0]],[[1,6],5]]]
     29[4,[[[8,1],[1,4]],[7,[1,3]]]]
     30[[[6,[0,4]],[[4,6],[2,4]]],[9,[1,5]]]
     31[[[[3,6],[3,3]],1],[0,[[8,8],2]]]
     32[[7,[5,[2,6]]],[[[7,9],6],[0,[3,6]]]]
     33[[[[6,7],4],[[2,9],2]],3]
     34[[[7,[1,7]],[5,4]],[[[1,1],[0,1]],5]]
     35[[6,[[1,0],6]],[0,[6,[0,5]]]]
     36[[[[2,4],[4,6]],9],[4,[[8,0],7]]]
     37[[[[9,9],[5,7]],[9,[8,6]]],[[3,[2,3]],0]]
     38[[0,[1,[5,3]]],[3,[8,[3,4]]]]
     39[[[[4,3],8],[2,9]],[[1,[6,5]],[[5,7],2]]]
     40[[[0,[7,4]],[9,[9,6]]],[[8,[5,5]],[[6,4],1]]]
     41[[[[7,3],[7,9]],[8,[6,2]]],[[8,[4,5]],[[6,4],[6,7]]]]
     42[[7,[[9,0],[9,0]]],[[[0,8],2],[8,[8,3]]]]
     43[4,[7,[5,6]]]
     44[7,[[[3,8],8],3]]
     45[[[4,[6,6]],0],[9,0]]
     46[[[[7,4],8],8],[[0,1],[[0,0],[2,4]]]]
     47[7,[1,[[9,4],[3,6]]]]
     48[[[[2,8],9],[[8,6],[2,2]]],[[[5,1],9],[2,[0,7]]]]
     49[8,7]
     50[[[[0,8],4],[[9,9],[9,9]]],[[[4,3],[1,0]],[6,8]]]
     51[[[[8,3],[8,9]],1],[[4,[1,0]],[[4,0],[2,3]]]]
     52[[[[4,7],[1,3]],[6,9]],[[1,0],[[1,8],5]]]
     53[[2,[4,[6,5]]],[3,[[9,9],5]]]
     54[[[[7,6],4],9],[8,[4,5]]]
     55[[[0,[6,6]],[7,[8,9]]],[[[0,0],[3,4]],[4,[1,8]]]]
     56[[[9,[7,0]],[5,8]],[6,[[5,0],[0,6]]]]
     57[[[[4,0],[1,9]],[7,[3,6]]],[[2,[8,6]],[[2,8],[8,2]]]]
     58[[[9,6],8],[[[5,5],[4,8]],0]]
     59[[[[1,7],1],2],[[[6,8],3],[[3,3],5]]]
     60[3,[5,[[3,8],6]]]
     61[3,[[[9,6],[5,8]],[9,2]]]
     62[[6,1],[6,4]]
     63[[2,6],[[[1,2],2],8]]
     64[[[[1,7],[3,6]],[2,[0,2]]],[[3,0],9]]
     65[1,[[0,[4,9]],5]]
     66[[[[5,5],[5,2]],[0,[6,4]]],8]
     67[0,[7,[[6,9],[6,0]]]]
     68[[[[2,2],[4,7]],[[7,4],6]],[[0,[1,7]],[[3,2],6]]]
     69[[9,8],0]
     70[[[[5,4],[4,8]],2],[3,[8,9]]]
     71[[[[7,0],8],5],[2,6]]
     72[[[5,[0,8]],5],[[[5,0],[1,8]],[[0,2],7]]]
     73[[[[9,4],8],[[6,5],4]],[[5,[8,9]],[4,[0,4]]]]
     74[[[[3,6],7],[[9,3],7]],[7,[[8,3],9]]]
     75[[[[0,7],5],[[5,7],2]],[[2,[9,5]],[[7,7],[5,0]]]]
     76[[[[7,5],2],[8,6]],[[2,[6,2]],[5,[3,1]]]]
     77[[9,[9,1]],6]
     78[[[0,7],[[5,9],2]],3]
     79[[[9,3],[8,8]],[0,[4,5]]]
     80[[[[6,2],5],[4,[3,1]]],[9,[2,8]]]
     81[[[1,[9,4]],[[0,0],2]],[[1,[2,1]],[[7,8],[3,2]]]]
     82[[[[0,6],[8,9]],[[4,7],[5,6]]],[[[1,4],[8,7]],[4,6]]]
     83[[[[6,4],[1,5]],[0,8]],[[[9,7],[1,2]],[9,4]]]
     84[[[[4,5],[0,7]],[9,[1,8]]],[[[5,0],6],7]]
     85[[[0,[6,9]],[5,[5,6]]],7]
     86[[4,5],[[7,[6,5]],1]]
     87[[[7,9],[6,7]],[4,1]]
     88[[[[9,6],1],[[3,1],[9,7]]],[1,[7,1]]]
     89[[[0,[2,0]],5],[[8,[7,6]],[[7,3],4]]]
     90[[[6,[1,7]],[9,[2,7]]],3]
     91[[[6,[8,2]],5],[4,[[1,3],[5,1]]]]
     92[[[4,[3,3]],[4,[2,4]]],[5,4]]
     93[[[1,6],[4,[4,0]]],[[8,[2,2]],[[8,1],[4,7]]]]
     94[[2,0],[[2,1],[[4,8],[2,7]]]]
     95[9,[[8,4],0]]
     96[[1,6],[[5,[1,3]],[9,[0,9]]]]
     97[[[0,[3,5]],3],[[2,[8,0]],[[2,0],[4,3]]]]
     98[[[1,[1,9]],[9,[7,9]]],[[2,2],[[6,7],[0,7]]]]
     99[[[4,6],[[6,2],[0,9]]],[[1,0],[1,[6,7]]]]
    100[9,[[[0,1],4],[[9,3],3]]]
    101