advent2021

Advent of Code 2021 Solutions
git clone git://bsandro.tech/advent2021
Log | Files | Refs | README | LICENSE

input.txt (3376B)


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