advent-of-code

Perserverance, or the lack thereof

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

input.txt (3380B)

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