From d36bf220bde20df553337b3dfc81199eedac8eb8 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Sun, 18 Dec 2022 15:33:52 +0100 Subject: [PATCH] day 13 --- 13/README.md | 8 + 13/day13.HC | 290 ++++++++++++++++++++++++++++++++ 13/day13.png | Bin 0 -> 18284 bytes 13/signal.txt | 449 ++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 8 +- 5 files changed, 752 insertions(+), 3 deletions(-) create mode 100644 13/README.md create mode 100755 13/day13.HC create mode 100644 13/day13.png create mode 100644 13/signal.txt diff --git a/13/README.md b/13/README.md new file mode 100644 index 0000000..095185e --- /dev/null +++ b/13/README.md @@ -0,0 +1,8 @@ +# [Day 13](https://adventofcode.com/2022/day/13) +:gift::gift::gift::gift::gift::gift::gift::gift::gift::gift::gift::gift::gift: + +Today's language: **HolyC** + +Yes. HolyC. In TempleOS. + +![TempleOS Screenshot](day13.png "It actually runs") diff --git a/13/day13.HC b/13/day13.HC new file mode 100755 index 0000000..e58b106 --- /dev/null +++ b/13/day13.HC @@ -0,0 +1,290 @@ +"Advent of Code Day 13 by Matthias Quintern in HolyC\n"; + +// +//ENTRYCLASS +// +#define EMPTY 0 +#define PACKET 1 +#define NUMBER2 + +/* +if type is PACKET, packet is pointer to packet +if type is NUMBER, val is value +*/ +//PACKETCLASS +#define MAX_PACKET_LENGTH 15 +class Packet { + I32 type; + // only if NUMBER + U8 val[2]; + //only if PACKET + U16 entryCount; + Packet* packets[MAX_PACKET_LENGTH]; +}; + + +//PACKETMEMBERFUNCTIONS +U0 initPacket(Packet* p) { + p->entryCount = 0; + I64 i; + for (i=0; ipackets[i]=NULL; + } + p->val[0]='0'; + p->val[1] ='0'; + p->type = EMPTY; + +} +U0 resetPacket(Packet* p) { + if (p->type==PACKET){ + I64 i; + for (i=0; ientryCount; i+=1) { + resetPacket(p->packets[i]); + Free(p->packets[i]); + p->packets[i] =NULL; + } + } + else if (p->type ==NUMBER) { + p->val[0]='0'; + p->val[1] ='0'; + } + p->type =EMPTY; + p->entryCount =0; +} + + +U0 printPacket(Packet* p) { + if (p->type ==NUMBER) { + if (p->val[0] =='0') "%c",p->val[1]; + else "%c%c",p->val[0], p->val[1]; + } + else if (p->type ==PACKET) { + "["; + I64 i; + for (i=0; ientryCount; i+=1) { + printPacket(p->packets[i]); + ","; + } + "]"; + } + else "X"; +} + +Packet*nextSubPacket(Packet* p) { + // add and return new subpacket + p->type =PACKET; + p->packets[p->entryCount] =MAlloc(sizeof(Packet)); + Packet* new =p->packets[p->entryCount]; + initPacket(new); + p->entryCount +=1; + return new; +} + +I32 RIGHT_ORDER=1; +I32 WRONG_ORDER=-1; +I32 CANT_SAY=0; +I32 compareValues(U8* lhs, U8* rhs) { + if (lhs[0] > rhs[0]) return WRONG_ORDER; + if (lhs[0] < rhs[0]) return RIGHT_ORDER; + if (lhs[1] > rhs[1])return WRONG_ORDER; + if (lhs[1] < rhs[1]) return RIGHT_ORDER; + return CANT_SAY; +} + +I32 comparePackets(Packet* lhs, Packet* rhs) { + //">>>Comparing lhs type=%d <-> rhs type=%d\n", lhs->type, rhs->type; + //" "; printPacket(lhs);"\n "; printPacket(rhs);"\n"; + if (lhs->type != EMPTY && rhs->type ==EMPTY) // [...]/n vs [] + return WRONG_ORDER; + if (lhs->type ==EMPTY&&rhs->type !=EMPTY) //[] vs [...]/n + return RIGHT_ORDER; + + if (lhs->type ==NUMBER && rhs->type ==NUMBER) { // n vs n + return compareValues(lhs->val, rhs->val); + } + if (lhs->type ==NUMBER&& rhs->type ==PACKET) { + return comparePackets(lhs, rhs->packets[0]); // n vs [...][0] + } + if (lhs->type ==PACKET&&rhs->type ==NUMBER) { + return comparePackets(rhs, lhs) * (-1); // [...] vs n + } + if (lhs->type ==PACKET&&rhs->type ==PACKET) { // [...] vs [...] + U16 i; + I32 result; + for (i=0; ientryCount && ientryCount; i+=1) { + result = comparePackets(lhs->packets[i], rhs->packets[i]); + if (result !=CANT_SAY) return result; + } + if (lhs->entryCount > rhs->entryCount) return WRONG_ORDER; + if (lhs->entryCount < rhs->entryCount) return RIGHT_ORDER; + return CANT_SAY; + } + "ERROR:Failed to compare Packets\n"; +} + +U0 makeDivider(Packet* p, U8 val){ + initPacket(p); + Packet* sub =nextSubPacket(p); + sub->type =NUMBER; + sub->val[1] =val; + sub->val[0] ='0'; +} + + + +// PARSEFILE +/* + [ and , begin new entries -> nextSubpacket + ] always ends a packet +*/ +#define MAX_PACKET_DEPTH 10 +U64 parseFile(U8* fileBuf, I64 fileSize) { + U64 indexSum =0; + Packet d2; + Packet d6; + makeDivider(&d2, '2'); + makeDivider(&d6, '6'); + U32 d2i =1; + U32 d6i =2; + Packet lhs, rhs; + initPacket(&rhs); + initPacket(&lhs); + Packet*packets[MAX_PACKET_DEPTH]; //stack for packets + packets[0] =&lhs; + Packet* curP =packets[0]; + I32 depth= 0; // sub-packet nr: -1 not in any package, 0 package, 1 first subpackage + U32 pairNr=1; + U32 digitNr =0; + I64 i; + for (i =0;i < fileSize; i+=1) { + //Print("parseFile:char nr %d is %c\n", i, fileBuf[i]); + switch (fileBuf[i]) { + case '[': + //">>>Subpacket Begin\n"; + depth += 1; + packets[depth] =nextSubPacket(curP); + curP=packets[depth]; + break; + case']': + //">>>Packet End\n"; + depth -= 1; + curP = packets[depth]; + + if(depth == 0) { // packet end + if (packets[0] ==&lhs) { // first packet end + //"finished lhs\n"; + packets[0] =&rhs; // wait for second packet begin + curP= packets[0]; + } + else { // second packet end + //"lhs:";printPacket(&lhs);"\n"; + //"rhs:";printPacket(&rhs);"\n"; + //TODO:compare packets + U32 result =comparePackets(&lhs, &rhs); + switch(result) { + case CANT_SAY: + Print("Can not determine order for pair nr %d\n", pairNr); + break; + case RIGHT_ORDER: + Print("Right order for pair nr %d\n", pairNr); + indexSum += pairNr; + break; + case WRONG_ORDER: + Print("Wrong order for pair nr %d\n", pairNr); + break; + } //switch + pairNr += 1; + // task 2 + result =comparePackets(&lhs, &d2); + if (result ==RIGHT_ORDER) { + d6i += 1; + d2i += 1; + } else { + result =comparePackets(&lhs, &d6); + if (result ==RIGHT_ORDER) { d6i += 1; } + } + + result =comparePackets(&rhs, &d2); + if (result ==RIGHT_ORDER) { + d6i += 1; + d2i += 1; + } else { + result =comparePackets(&rhs, &d6); + if (result ==RIGHT_ORDER) { d6i += 1; } + } + + + resetPacket(&lhs); + resetPacket(&rhs); + packets[0] =&lhs; + curP=packets[0]; + //if (pairNr == 15) return indexSum; + } + } + break; + case '0'...'9': + //"Number: %c\n", fileBuf[i]; + curP->type =NUMBER; + if (digitNr =0) { + curP->val[1] =fileBuf[i]; + digitNr += 1; + } + else { + curP->val[0] = curP->val[1]; + curP->val[1]= fileBuf[i]; + digitNr =0; + } + break; + case',': //finished writing to entry + packets[depth] =nextSubPacket(packets[depth-1]); + curP =packets[depth]; + break; + case '\n': + break; + default: + "Did not match character %c", fileBuf[i]; + } + //"curP=%P", curP; + // debug + /* + if (packets[0] ==&lhs) { + "After char %c: lhs packet, depth=%d, entryCount=%d\n", fileBuf[i], depth, packets[depth]->entryCount; + } + else { + "After char %c: rhs packet, depth=%d, entryCount=%d\n", fileBuf[i], depth, packets[depth]->entryCount; + } + */ + } + resetPacket(&lhs); + resetPacket(&rhs); + "Index of divider 2: %d\n", d2i; + "Index of divider 6: %d\n", d6i; + "Decoder key: %d\n", d2i * d6i; + return indexSum; +} +//Main i guess +U8* filepath ="D:/Home/aoc/signal.TXT"; + +//U8* filepath ="D:/Home/aoc/testsignal.TXT"; +//U8* filepath ="D:/Home/aoc/test.TXT"; + +/*CFile*file =FOpen(filepath, "r"); +I64 fileSize =FSize(file); +Print("Opened file %s with size :%d\n", filepath, fileSize); +U8* fileBuf =MAlloc(fileSize); +FBlkRead(file, fileBuf, , fileSize); +FClose(file); +*/ +I64 fileSize = 0; +U8* fileBuf =FileRead(filepath, &fileSize); +Print("Opened file %s with size: %d\n", filepath, fileSize); + +U64 indexSum =0; +indexSum =parseFile(fileBuf, fileSize); + + +Print("Indices Sum for packets in correct order is %d\n", indexSum); +Free(fileBuf); + + +"End of program\n"; \ No newline at end of file diff --git a/13/day13.png b/13/day13.png new file mode 100644 index 0000000000000000000000000000000000000000..c40a5df18785080dc7f1af0fc2f2648fd3aa13c3 GIT binary patch literal 18284 zcmcG$cUTkc*EKq!s~{j91jL3Yy(1+G3Mx&cmk5IN-a=0h5Kt*rdPj=%7OD_B4>dsO zy+}<$?GP_R9bO&^&+k4RVS`@0)!?B)o9&ok$ci|hg%nkU5a*iVYL zkz))&&o^1Dq;_HY4B=qzC;ty`Q+Cdj=lRdIUbr05!2zCug59#LaojhIk?qn*m|0vI z!%dfQ9+n)R|Mv5Bly{&$u8(!R4200dENvd8ej)0+8WC$@4fGuJKQ?-+WE#}UKfu|A z@vR;r|MVr5s+O9vBrT-`FKZ6(kGvX*<~(kz%a+foJ81JD)Y@U~3HHZ{SemQ8xiL%5 z;;fCDXZ2_FbA_;croemcxRbRrACCGigy$wpNr9o)>sWy?`6a8-rMIK0aWf{)vk=@Q?q+fUZ~c~3hx{#G%OSjq_-MaC{|q7mGu zSi-na?vE(=FXw)ajnc90&jwD$Q$kiw-*%@x78~s0t;X27oKUNDMu$mE+7LRXXu9M6 zz65@B+4)&9$uzn2)s=#9v|`poWR___G`wBfZiU;j<6C;<1kO>mtr5ZNlEJi&7OG1g zL#^Ygw3l*{o!sZ0uLI4Sanjt^Dy<)X8VHq?EMO^6<}mjy)eP8J9*yiSmxs(mlnUNB?{r`zGMIr; zCjHG4rcW62GE}5Won>2qRzY7?%Gn|?vp}r2LJ!B~B<&PZcD*9=^qhwY5F=P9}q)e!h>w%$F1shjO z`qx`_B|M%8rlBCb4Ud>5<&tGhWdQPFqxv|aazW@H%!OQA_{id6Oqcf2I|#Lk_N;ny zTaqCr?jS5?_MX)FvGvH=8c>ye_IP-Qm*l|9c#X9Q+Ru859i^o-&#X(kr*Vk?qsgGVgR=ut|$s{3uwReT2 zM@jNh_lTLJ&X@#+17oV;XxGN(14`*gX>pDVpC^0>!$ME9(F;*(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^A8?@kf}6sl3-5$3=pWc0Mg{-?7zF|h003|S2yjliukF>o006*a zVGKCu*2BO60B{$GfB^siE&u`k0pTwI0GtC|&_6(W0RZ3}ehBct>-w*h>DSMHrb~%y zKi|>$xsPu$F)B4un+^bzkhKY?eG%we%(5)ov>856WczTaherD;mOH8)ZqDzlhXy~Z zuGi0Pt!d{1z?_u7Yq5QZEkoHv4C(ROEY}8AmmoUnY=?W=+gSM? zdMdC#;_TOvPx68n0cxF%s;GLmXPTjDi~>1j0`_aXxT4fMpR;_0PM zHz3k9kGpPZ#jPc2=GUlffX)#4b)zjG-tG* zVwOJnD=oll8S>lg|Gj6Eux!D&U3*eHnX9t`4a*It23qjzNL3NFr!VQkn}3u{zls!l zY$ho8KszN%EUnq)Hlzcn+a07*qoM6N<$f?h316#xJL literal 0 HcmV?d00001 diff --git a/13/signal.txt b/13/signal.txt new file mode 100644 index 0000000..c7ce3dd --- /dev/null +++ b/13/signal.txt @@ -0,0 +1,449 @@ +[[[],2,9,4],[],[[[],[0]],[[7,0,10,8],[10,5,5,4,1],0,6]],[]] +[[[8],[3,6,9,[10,4,2],[4,5]],[10,[3],[7,10,7,2],[0,5]],2]] + +[[[3,6],[]],[[7,[7,9,1,8,2],[],[1],3],[[8,0,10],[5],0,8],[[6,4,5],[1,3,1,10,8],[],[8]],9,9]] +[[[[5,0],[4,7,3],[4,5],[0,2]],9,0]] + +[] +[[6,[4,8,0,[1,9]]],[[0,4,[8,10,8],[1,4,9,2,4]]]] + +[[8,4,8,8,1],[2,[1,8,[5,3,8]],[[3,2,2,9,8]]],[[[2,5,0,7],[6,8,8,8,2],1,7],2,8,[6,5,0]],[10],[[[2,6],[2],[0,7,8]],10]] +[[],[6,10,[8]],[7,[[0,3,8],[7,0],9,[8,3],[2,7]],5,6],[2,[[7],[7,1,8,6]],0]] + +[[[[4,3,7],0],2,[3]],[2,0,[10,2,[4],1,0],9],[[10,9,[7]],0,4,[6],[10,[6,10,7,0,9],9]],[10,[8,[2],10,[7,10,9,6],6],5]] +[[],[[9,10,1,[9]]],[9,[],[[],[2,1,8,4],[3,4,1,3]],0]] + +[[[[1,5,4],[0,9,6,4,9],[6,3,6,2],[1,4,10,4],5],0,[5]],[8]] +[[[[6,4,9,3,1],[6,10,5,1,3],[3,10,8,4],3],7,3,10,3],[[5,[],0,6,4],8,[[7,8,5]],[6,[9,10,4,2,9],[6,7,4,6]]],[9,5,[[2,0,2,4,10],[2],4],[],9],[]] + +[[5,[[2],9],[5,7,[6,2,9,6],2]],[[2,5],4],[7,[2,4,[10],10],[0,2,9],[[],[6,4,10,8,0]],[]],[]] +[[[10,4,7,4],3],[[[2,10,3,10],2,3,0],[[8,9,5,10,8]]],[[]],[3,[1,[5,5,9,2],[1],[],[5,3,4]],3,2],[3,4]] + +[[[[6],9],5,[1,1,[5,7,2,9,9],5,0],[3,[],[3,6],8]],[[4,[8,7],3],[[9],[4,5,3]]],[3,[],4,9,[3,[5,3,7]]]] +[[3,3,0]] + +[[],[1],[]] +[[[[0,3],[7,0,5,1]],[],[2,[4,3,3,6,4]]],[[],[10,[]],[5,[2,7,7,10],[9,8,2,10,4]]],[[],[[1],[4,4,6],10,[4]],[[1,1,7,7],[6,9],0]],[[3,[3,5,4],[8,2,4,0,3],5,[3,10]],10,[]],[[3],2,[],[[6,1,2,3],[7,7,9,1],7]]] + +[[]] +[[3,8,5],[0,[[5,4,7,0,5],4]],[7,[[8,10,6,9,8],3]]] + +[[],[6,4,3,[8,[],1,[9,9,7],1],[[],[2,0,3],[4,5,5,8],5,[]]],[[2,2,2,[4,4,7]],8,[[4,9,4,10],8]]] +[[[[2,3,0],[],[7],[3,8,5],2],[5,[]],8,[]],[],[],[7],[2]] + +[[[[2,4,5,2,9],9,7,[8,1,5,7,6]],[[10,9,9]],9],[[[],2,10],[9,4]],[8,9],[[[8,7,5]],1,[[1,7],[],[9,2,4],0],4],[3,3,5,4]] +[[7,[8,[9,1,10,1],[8,7]],7,5],[[10,[4],[7,0]],0,5],[4,7,5],[],[9,[[9],[9,1]],5]] + +[[4,9,[8],[9,7,[0,7],0,0]]] +[[4,0,0,2],[3,[[1,6],[5,4,7,1,9],9,5],[[9,1,3],5],8],[[[8,5,8],[],[10,10,0,9,0],[2,0,10]],[[6,3,8]],10,[[5,1,9,10],6]],[[]],[1,2,[[6,4,9,0,2]],8]] + +[[1,8,4],[6,[[2],4,3],10,1,[10,[8,8,7,3],1,2,7]],[8]] +[[[0]]] + +[[5,[4,[3,7,6],[2,2,6,7]],[[5,8],3,2,[10,1,1,10,2],[3,2]],10],[8,[[],2,[]],[5,6,[3],0],1]] +[[9,8,[],[[4,3,8,7,2],[0,5,7,2],8,1],7],[[[10,6],3]]] + +[[[2]],[[[7,2,8,9],[],2,[]],[6,9,[1,5,5,5],8],6],[[4,3,6,7],[[6,4,8],[0,6,2],6],[4,6],[[5,2,3,4,8]]]] +[[[6],7,8,[7,[4],[1,10,0,3],[6]],[[8,10,9,1,2],[9,9,0,2],[2,7,0,2,9],8]],[[[8],0],9,5,[],7]] + +[[8],[[1,[],0,[10,3,0,8,6]],9,2,[8,[4,3,4],3]],[]] +[[],[[[10,9,7],1,[6,3,7],[]],1,[[4,9,8,3,1],[9,8],[0,10,4,3],[0,0]],[6]],[[[5,7,10],10,[5,9,0,6],1,[0,0]],[10,[],[2,1,3]],[9,[5,1],[6,6,9],8]],[0,[],[2,[6,10,2,0],[3,2,9],[8,10,10],4]],[]] + +[[[[6,1,1,9,0],[2]],6,5,0,[[],[3,4]]],[[],[10,9,1],[2]],[2,[[8,5],5,[]],[1,8,[4],[0,4,4,4],[0,6]],6]] +[[7,[9],[0,[4,0],3]],[[[],6,[6]],5,[[1,5,5],4,2],5,[0,1,[]]],[]] + +[[[4],[5],[9,8,9,1],1],[[[8,2,5]],[10,[9,0,0,6],6,[2,6,2],[4,8]],4,10],[],[[9,3,8,[10,10],4],[]]] +[[5,2]] + +[[10],[0],[4,7,[[4,8],[2,4,8],[4,10,2,5,7],10],2,7],[[[7,0,0,1,0],[0,6,8,6,9],4,6]],[[[],7,[1,6],7],[[10,10,4,2]],[0,3,10,[6]]]] +[[[[3],10,[7,3,2],[6,8,5,9]],[4,4,0,[8,6,9,2]]],[]] + +[[[2,[7,6],5,1,4]],[[8,0,10],[[2,8,6],9,[7],6,4]],[5]] +[[4,4,[3,6,5,[10,8,9,5,4]]]] + +[[],[[9],3,[[6,10,10]],0,4],[[[10,10,10,8,1]],[9,[]]],[4,[8,5,[0],0,[7,6,6,3]],3,[7,0,5,7]]] +[[[5,2,8,[1,6,10],5],[],[]],[[[]],[[0,1],5,0],[[8,2,9,1],[2,8,7],5],[[],9,0,6,0],4],[[[2]],[],[0,[3],[],5,6],0,[[7,3,0],1,[0,2,9,10]]]] + +[[9],[[[],0,9,0,2],5],[0,[10],[10,[8,0,5],5,9]]] +[[],[[8],[],2,3],[1,[[10,2,7],6,[3,0,9,6],9,[9,5]],2,6,[3,5,[9,9,8]]],[6,[4,[8,7],4,[2,1,0]],[[10,1,7],10,[1,9,1,0]],9],[0]] + +[[2],[5,[1,[2,8,9],4,[4,1,7,8]],[],5],[9,9,[3,[10,2,9,0,4]],1],[5,[],8,[9,3,5,2]],[[[5],4,[0],[5],3],3,6]] +[[2,2,6],[5,6,[2,10]]] + +[[[[6,10,5,10,8],[5,8]]],[[[6,4,8,4],[8,7,8],[8,9],3],5,2],[9,[5,9,[2,3]],[[],[7,1,4,4],[],10]],[]] +[[6,5,[4,[8],[6,2],2,3],[2,1],10],[8,[8,[],[4,2,7,4]],[9,[5,2,2,0,9],[],[],[8,5]]],[[[4,3,9,6],[5,6,1],4,4,[6,8,1]],[[],9],[[2],6,2]],[7],[[[5,5,4]],3]] + +[[[[5],[0]],[5,10,[],5,4],[1,[1,9,2],8,[2]],8],[[[2,0,10,0]],5,3],[[[]],[5,1],[[0,2,4],5,10,[7,4]],0,[[5,8,2],[7,9,0],6]],[8,[[1,8],8,[3,0,4,10]],9]] +[[],[],[[[5,8],8,[2,8,6,9]]],[9,9],[8,[9,[1,4,4,7,3],8],9,4]] + +[[10,[9,8],[[],[5,8,10,10,7],[7],4,[]],[0,3,[8,3,2],5]],[4,[0,[]]],[[[4]],[7,2,0,[3,0,7,6],3],[1,[0,9,7]],[5],[[0],3,2,8,2]],[6,[[6,10,6,0],[0],4,1,[5,8,5,3,10]]]] +[[7,4,[[7,9],[6,1,7,9],[10],[9,4]],[[6,4],8,[9,3,8,10,1],[]],2]] + +[[[[1,0],[8,1,2,4,0]],2,[],5],[0,[]],[9,[],5]] +[[[[10,0,9],8,[4,10],[8,3,10,6],4],10],[6,[[10,10,1,7],6],6],[[[10,7],3,6,4,[1,2]],10,[[8,3],[],5,1,0],[[],[0,7,0],5]],[]] + +[[9,3,2,[6,7,[10,5,7,3,2]],[[7,9,0,10],9,[10],[8,1,4,2]]],[10,9,8,[[9,4,10,3],2],[6]],[3,8,6,[[10,7,3,6]],[2,4,10,[3,3,0,5],[]]],[9,8,[2,9,10,[5]],[[],[3,7,10,10,9],[7,1,3,1,7],0,[]],[[2,1,10,7,9],[4],10]]] +[[8,[[],[4,1,5,5,1]],6,9,5]] + +[[6],[[[3,6,10,8,9],1,[10,2,4,0,7],9]],[5,[6,1],[0],4],[],[[],[],[6,9,9],[],[]]] +[[[7,[3,0,4,1],[2,9,10,6,4]]]] + +[[],[[],9,3,9]] +[[[],[[8],[7,7,6,3],[],[9,7]],10,10]] + +[[[10,6]],[8,9,[7,9,6,[4],6],9,[[8],[7,1],[7,7],0]],[[10,6,[6]],7,7]] +[[[[10,5,8],[8,1]],[[4,0,0,1,10],0,[8,10,2,9],[0,1,2,0],[4,0]],[8,[],0,2,[4,3,8,7,2]],[0,[0,3,6]],4],[[7,[3,8]],10,[]],[8]] + +[[[4,9,[3,5],9],10,7,5],[6,[5,[7,9,4,4,8],[0,3,3,5],10,6],[[]]]] +[[9,[],[[6,3,2],9,3,5],7,[]]] + +[[[10,[],[5],[3],0],[6,[5,4,5,8,7]],5,2,5],[[5,8],[[]],0],[9,3,7,5],[7,[8,5,9],[3],[[],6,[4,5,8]],9],[[9],10,[[5,9,4,5],[]],2]] +[[10],[5,10],[[9,9,[8]]],[[10,[],[5,10,6,2],[9],[]],[[0,8,10,10],[0,5,1,5,0],[2,2,5,1,9],9]],[3,7,[[3]],[[3,4,10,8],[2,3,10],3,[8]]]] + +[[3],[2,[],[[4,8,10],[7],3,[0,5,4]],3,3],[],[[],[[9,7,7]],[[8]]],[8,[],[[8],3],[]]] +[[9,4,4],[[[1],9,6,[4,5]],[6,2,0],5],[[3,[6],9],7,[[],[6,0,2,4],[]],8,[6,[0,1],7,5]]] + +[[10,[],[[1],[8]],[],[[],5,[8],[3,8],[1]]],[[[],[4,8],[9,6,7,1]],3,5],[[[2,9,3,10,0],0,6,[3,7,5],[9,7]],10],[[8,0,[8,7]],6,5,5]] +[[6,8]] + +[[],[],[]] +[[[2,5,7],9,0,[1,10]],[8,[0,[2],5,[],[5,6]],6],[[[7,7],1,[6],[1,9],3]]] + +[[2,4,[[4,3,4,10],[7],6],[9]],[3,[],[[8,9,10,9],6,[2,3,2,4,10],6],[[4,8,4,8],2,6]],[3,[2],[7],4],[[2,[2,1],[9,3],[9,4,5]],[[1],[5,5,10]]],[1,[]]] +[[[7,[3,6,6,6,2],[7,0,3,0],7,5]],[[4]],[],[3,9,1,4,[[1,7,0,10,8],0,5,[0]]],[[5,9,[4,5,5,10],[0,7]],0]] + +[[[2,8,2,8]],[]] +[[],[6,9,[[8,7,7],[0],[4],[]],0,[[],[7,1,9,2],[2,5,9,4],2,[2]]]] + +[[7,3,[[8,9,3,7],[7,10,6,2],[4,0,7,0,8],[0]]],[[[],[4,3],8]],[]] +[[[10,[9,9,4]],6],[4,[4,[],5,[3,1,8,6],0]],[5],[]] + +[[[],[4,0,[0,0,6,9],[8,0,3,7],[3]],9]] +[[],[],[[[7,3,7,7],[5,8,3],6],10,4,[2,4]],[4,1,6,[]],[]] + +[[[[],4,4],4,6,9,[0,[1,10]]],[],[5],[6,[[8]],5],[[2,[6,3,1,10],[]],0,[[],[1,6,2,10,6],[8,10,6,2,1],1]]] +[[[[0,9,8,3],1,0,5,[9,0]],[[5,8,3,4,9],[4,1,2,9,4],1,[],5]],[[[10,10,1,6],[5,10,3]],[[7,7,8,8,7],0,0,10]]] + +[[2,[[8,7,0,1,6],10,9],5],[]] +[[[[3,9,9,2,4]],8,[],4,[[8,8,4],[],4,6,[5,6]]],[[[],0,7,3,[3,0,4,9,0]],[[4,5,6,7,0],5,0]],[2,[[0,1,5,6],[3,2,0,6]],[[6,7,1],4,[2,2],[4,10,9]],[9,2,[6]],[[7,7,9],1]],[[],[1,10,[7,9,2],2,10],2,[[]],[2,2,2,1,8]]] + +[[[7,8],[2,[7],[2,3,0]],1,[5,[6],5,[4,1,5,9]],[]],[0],[[[7,5,0],3,[6],8]],[6]] +[[9,[[4,8],[1,4,8]],6],[[8,[3,6,2,2],[],[8,4,3],8],8,[[5,0],[],[4]],2,0],[[[7,6,1,6],[2,10,1,5,1],3]],[[[10,0,0],[8,1,4,3],[2,0,4],7,1],[8,9,[8,4,2,0,9]]],[[8,1],[[],[7,9,6],6,[10,0,8]]]] + +[[[8],1,2,[0,[4,4,8,7],[6,5,3]]],[],[[[5,7,10],4],[[10,10,4,6,5],0,[]],5,[[10,8],9,2],9]] +[[],[],[[1],3,[[3,8,10],[9],4,[],[7,6]]],[[[7,5,4,7,5],[7,6]],[9],[[4,0],6,[2,0,5,6,7]],[[],9,[7,4,5,0,6]],[[8,0,2],[1,3,3,6]]]] + +[[6,7,4,8],[9],[8,[[3,6,6,5]]]] +[[6,4,[[],10,2,[1,1],[7,2,2]]],[10,[10,[5,10,9,7,7]],7,[9,[0],9,10],10]] + +[[[0,[7,8,3]],7],[0,6,7,[8,[5,1],[7,6]]],[5],[[[],10],6]] +[[8,[7,[8,9],8,9],3,[8,[2],6],2],[[[8,5],8,[0,4,10,4,5],[5],[4,4,2,6]],[],1,4,[10,4,[1,9,10,2,8],3,7]],[[[],4,[9,1,0,10,8],[6],[10,4,3,10,9]],4]] + +[[6],[],[6,9,[[6],5],[[5,8]],[[9,9,3,4,3],[0,5,6],[1,1,9]]]] +[[6,5,10,[[]],1]] + +[[0,[0],[10,5,2,[9,0,10,4,0],5]]] +[[7,2,3,[[1,10,7,1]]],[6,9,[[9,0,10,4,6],7,[1,8,6]],[[7,3]],3]] + +[[0,1,3,1],[3,6,[[0,1],9,[0,6,8,3,0],[1,10,10]]],[[],5,9],[4,[],[[8,6],[8,5,6,6,0],[2,6,5]],4],[10,[]]] +[[],[8,[10]],[[10,[3,0,1,4],1],6,[[5,8,6],[10,10,6,4],[9,7,7]],[]],[]] + +[[0,3,[],[9,[7,2,4,9],[6,7],9,5],[]],[],[[7,[],[9,7,9,0,4],5],[6,[9,4,5,10,5],[1,4],[3,7,10,3],8],2],[]] +[[8,6]] + +[[[[8,4,8,10,8],[7],[4,6,0],2,[1,1]],9,[[],0]]] +[[2,[]]] + +[[[],2,10,2],[[[4,9],[4,8,9,9],[8,6,8],[1,1]],[7,3,[],[],2],[9,[6]],1],[[],[1,5,2,7,4]],[[[2],9,[7,7,2],8,6]]] +[[],[9,9,[[],8],[[1,8],[10],9,[4,7,10,0],9],2],[]] + +[[[1,6,[9,3],9],[6,[4,7,9,2],[10],[4,10,8,1],[]]],[[[9,8],[4,9,1],9,[6,0,6,10]],[8,1,[8,3],2,6],9],[],[[6,[4,4,6,10],5,7,[2,0,8]],[[]],6]] +[[8,8,[1,6,[9,4,8,3,7],[7,6]]],[9,7,4,[]]] + +[[2],[],[],[[[7,4,1,0,1],[0,9]],6,[[8,10,0,4,8]]]] +[[1,9,9],[1,[[2],[0,5,9],2],[[9,7,7],6,6]],[[1,6,8,[]],[[0,1,5],3],5,[[9,2],2,6,5],5],[5,8,[4,4,[],[9]],1,7]] + +[[10,7,6],[[[],[4],4,5,10],1]] +[[],[5],[0,[[5,3],1,10,[2,0],[8,1]],[1],4],[5,4,10,10,[[9,2,1,3],[2,10,10],[8,1,9],[3],[]]],[[0,2,[2,4,1],2,1],4,5,[[10],[7,5],[],1]]] + +[[7,[[8],2,[0,9,5,5,2],[5,3,4,2]]],[[[3,5,7,3,2],[5,10],8,9],4,7,8]] +[[],[3,0,1,9,10]] + +[8,10,7,6,5] +[8,10,7,6] + +[[[[6,5,4],[4,0,8,7,0],[1,9],5,[1,9,1,1,0]],[[4,6,6,2]],[8,[4,7],[8,2,7,9],[5],[]],1,[10,6,[1,5,8]]],[7,7,[8,[9],[2],4,[7,4,4,3,9]],[[],[3,7,3,1],3,[4,7]],2]] +[[[9,5,[7],8],[[10,7,4,4],10,[3],8],10],[[[5,1,5,6],[2,2,5,4,5],0],[9,[10,9],8,8,7],3,[9],[[]]],[[8,5,8,6],4,[],[[]],9]] + +[[[0,7,7,5,9],[[],8,[2,2,7,3,7],6,[10,6]],[3,7,[8]]],[],[[],1,3,0,3],[]] +[[3]] + +[[[[],[]],2,[8]],[],[0,[[0,3,3,7],1,[7,6,10]],7,1,[[3,0,8]]],[[[]],[[4,6,2,9,3]]],[[],[6,[2,8,6],4,7,[3,1,5,7,1]],1]] +[[5,2,8,[[9,6,0]],10],[[[],[4,0,7,9],6,[9,0,7,5,9],[7,5,3]]],[5],[[1,10,7,[2,2]],[9,3]]] + +[[[],[[],[0,6]],10,7,[7,[],[2,5,2,10],[6,1],[2,0]]],[],[[2]]] +[[6,[[10,6],4,3,[6,10]],[[7,6,9,10]],[7],10],[[5]],[[],[0,[8,3],5,[]],[[2]],0,[[2,8,3,7]]]] + +[[4],[2,[3,[10],[6,4,1,0],[],[1,9,9,2]],10],[3],[1,4,8],[7]] +[[],[6,[],3,5]] + +[[],[5,[[3,1]],2,[],[[6,7,0,10],[7,8,6,4]]],[[[7,7,9,2],3,[1,1]],2,[10,[9,2,3],0],0,[[2],[10]]],[4,[[]],[4,6],[5,7],[3,[]]],[5,2]] +[[8,[[],[9,2,8],[2,8,10,0],3,[10,10]],7],[[8],5,2,[10,1,[9,1],[4,0,0],2]],[9,2]] + +[[[[],[10,2]],9,7,[6,[9,6,8],8]]] +[[[],0,10,0],[[[]]],[],[],[6,[],8,[],8]] + +[[[[4,8,6],9,[7,8],2,[1,3]],1,7,[[0]],8],[[0,[0,9],[9,1,2,8,3]],[]],[8,3,[7,[]],[2,[3,7,8],10],4],[10,[[9,2]],[[],4,10,9]],[[7,[9,5],[8,10],[8,2,5,6]],[9,[4,1,10,8],[3,7],2,9],[6],1]] +[[],[],[],[]] + +[[8,1],[],[6,[[2,7,5,9],[4],7],[5,3,[1,7,1,2],3]]] +[[2,5,7,[0,[7,4,0]]],[],[1,[7,3],9,9],[]] + +[[4,[],5,[[4,2,8],[7,2,8,9],[10,4,2,0],6,2]],[0,[[6],[7,0,6,7],8],[2,[2]],[],9]] +[[1,[7,[2,0,7],8]],[8],[],[[[],0,6,[7,7,5,7],[6,7]],10],[0,[3,[8]],[3,[6],[9],[6],[4,5,0,1,1]],7]] + +[[[[],[2,8],[8],[1,6,3]],[6,[4,9,10,1],0],[[3,4,3],7,[9],[1,1,10,7]],3],[[[7,5,7,1],[7,5],6,5,[6,5,7,4,4]],4,2],[],[6,[],10]] +[[5,[[1,4,1,6,9]],2],[[[],8],3,[[10,0,10]]],[[[4,7],4],4,[[7,3,2],[]]],[3]] + +[[1],[],[],[2,[[7,6],10,3,2],3,[[3,0,5,6],[1,8,9],[3,8,7]]]] +[[2,[[6,10,6,7,8],[9,10,2,4,8],6],7],[[1]]] + +[[],[3,[6,[],7,9,[1]]]] +[[[],5,7,[7,[10]],[8,10,7]],[[8],[6,[7,2,4,9]],[0,[10,1,8],8],[7,[10,0,8],[5,9,4],[],[5,1,1,7]]],[[[8],4,[],[]],1,3,8]] + +[[[7,[8,1,6,9],4],8,[[4,1,9,3,7],[9,7,8,4,10],8],8]] +[[[3]],[9,1,4,[4,[7,1,1,6,0],4,[]]],[4,9,[6,[2,9,8],[4],6,[5,10,9,0]],1]] + +[[10,[],[[4]]],[[[4,4,3,2,9],6],1],[[6,[3],[3,6,2,5],1,[]],[[],[5,4,3,8],[2],8,[6]],8,8],[8,8]] +[[],[1,[[2,0,10,0,8],[2,10,7,9,9],4,[7,9],[2,6,6,7]]]] + +[[4,[5],[],[[],[],0,1,10],2],[[0,7,[3],[7,4,7,4]],8],[[[6],[3,1],5,[],[1,1,7,0]],5],[[2,[10,3,4],[0,9,5,1,1],0,4],9,[5,[2,5,6,0],[2,5,3,3],4,7],3,[0,[10]]]] +[[3,1,8,7,[7,0]],[[[5,4,4,10],2,[3,1,6,4]],[],10,9],[6,9,[4,[3,9]]]] + +[[],[[[]],[3,[8,4,4,4],3,2,[9,1,5,2]],10,[6,9,2,7,8],1]] +[[10,[],2,0,7],[[8],4,[[1,5,3,1],1,[0,10],3,2],[[10,5,7,7],[7,8,8,6],[3,5,2,5],[8,0,7,2]]],[[],[4,[3,6,5,2]],[2,[8]]],[0,[10,1,3,[6],9],[6,3,[4,5,6],7],[1,[7,0,3,2],6,0]]] + +[[[[]],4,[[2,4,3,1,7],[4,5,8,0,0],[1,1,6,2,4]]],[[5,8,[7,2],4,[4,10,0,2,8]],9],[6,[]]] +[[[6,[]],3,[0,[3,10,1,6],7,2]],[0]] + +[[7]] +[[8,[[5],2,[2,10,9],[7,8,8]]]] + +[[[[9,9,0],8,[6,2,7,5,7]],3],[],[]] +[[5,6,[9,2,[10,0,2],[5,9,6,10],[5,1,9,9,2]]],[[0,[4],[6,3]],2,[10],[2],7],[[],8,[],[2]],[0,[],[10]]] + +[[7,3],[[10,10,[],8,3],0,1,[],8],[1],[[5]],[9,9,8,8,[[10,10,3,10,0],9,6]]] +[[[],[],2]] + +[[[8,10,0],1,[[4,6],[7,10,1],2,[8,2,8],[4,1,7]],7]] +[[[2,[]],4,5,[4,[2],[]],5],[7,[9,[3,8]],[[10,7,3],8,10,4,8],[[4,10,8,4],7,0],[7,[3,9,9,5,10]]],[6],[0,[[0,8,7,1],7],4,[5]],[[[4,0]],[[10,2,8,5,10],5,4,[],2],1]] + +[[0,6,[[],9,6],3,[]],[[2,10,10,[3,9],8],[[1,8],6],3,2],[3,4,[9,[9],[3,6]],[5,2,[6],[10,10],[4,4,3,8,0]]]] +[[[4],[[9,1,4,4],[],1,[6,10,7],[]]],[[],[8,5],[3,[3,0,0,9,1],[4,7,4,2,0]]],[[],[10,0,[6],[6,3,7],[5,0,10]]]] + +[[6,8],[3,9,[],[[1],[8],0,0]]] +[[7],[],[8,[5,[3,5,6,4],[7,4],4,[10,9,2,1,6]],[9,[2,4],[7,8]]],[[[2,0,2],6,[5],[3,3,9,9],[4,8,8,0,7]],[6,[]],[],[10,[]]]] + +[[[[2,0,3],10],[7,[],[9,8,7,4,8],7,[4,10,6,10]],8],[7,9,[6,[],[]],2],[[5,1,[8],[10,8,10]],[10],[4,[],[1],6],[1,[],[1,9],[4]],3],[[[7,1,7,9,6]],[],2,[]],[[4],[[4,0,1,1,1],[5,9,10,7],0,[1]],[2,0]]] +[[],[[],[[1,0,7,8,2],[4,6,8,10],[6],7,5]]] + +[[5],[[[1,8,7,5,1],2,7],8],[9,[[10]],[[7,1,0,6,1],[0],[6,9,2,6],[8],5],[5,9,9,[8,5,3,8],[]],2],[1,[5]],[[3,[8,9,8,6],1],[[],[1,8],[10,7,0,8],[5,9,7,8,8],[8,8,2,5,8]],[]]] +[[[9,[4,6,0,10],[7],[1,4,1],[10,3]],[[10,10,7]],0],[[6,[0,8,3,1],[0,3],4,5],[4,0,[9,0,1],[0,4,9],7],[[8]],1,[]],[[[],3,2,[]],[9,[6,9,8,8]],5],[7,0,3,8,4],[10]] + +[[10,[8]],[6,0,[[7],2,0,1]],[[3,[1],[1,3],[1],[6]],8,[[6,8,4]]]] +[[[9,[]],6,5,[9,0,[4]],[[1,4,1,8,10],9]],[[6,5,[8,1,7,3,0],[8,3],[]],1],[[[10,4,4],7,[4,8,2,10],[9,10]],1,4,5]] + +[[[[1,10,0,4,0],2],4,4,6,10],[[3],[0,[6],[0,5,2,1,5],6,[8,1,2,0,1]],[],[6],4],[[[]],[],[4],[9,[3],9],[9,6]],[1,4,6],[0]] +[[[7,[2,5],[6,6,7],[9,9],[7,0,9]],0,6,[],[]],[[5,[1,7,10,0],[8,5],[2,5,6,4],7],8],[[[1,2,5,2,6],5],[[]],9,7],[[9,[2,3,9],9,[],[7,0,8,3,5]],[7,[3,2],[]],1,9,[]]] + +[[2,1],[5,[8,[]]],[]] +[[0,2,2,[[4,9,8,10,0],3,5,7,[8,8,1]],[[3,7,8,1],[2,2,10,0,0],[4,5,3],[],6]],[5,[3],1,3],[[8,3,[9,9],[9,0],1],[5]],[[[4,9],1,[5,7,10],[8,7,4,2,2],2],[2,0,[6,1],9],4]] + +[[2,[3,8,[8],[10]],[[]]],[6]] +[[7,[0]],[[7,[2,0],4,4]],[]] + +[[[[10,9],[3],[7,10,3]]],[]] +[[[1,4,3,1,[]],[]],[]] + +[[],[[[],6,0,[3,4,4,2,10],[2,2,7,8]],[[4,8,3,4,9],0],[],[]],[]] +[[3],[[6,2,[2]],3,4,7],[[2,[],[5,9,10],[3],[8]],[[4,2,0],8],4,10,[2]]] + +[[9,[[7,8,10,9],3,[3],[3,8,3,1,8]]],[[],4,[]]] +[[5,6,8,[]],[[8],[],4,9]] + +[[[],[3]],[9],[],[[5],[],[2,8,10,[7,7,6,2],0],[[],[4,9],[3]]],[[[2,2,5]]]] +[[],[[],[5,[4,3,6,7],9,2],[[4,1,8,10,5],6,7]],[[[0],7],[[6,9,2,6,5],7]],[[[0,10,3],[5],7,10],9,8,[[],4,0,[7,2,3]]]] + +[[3,4,0,[7,7]],[[[2,9],10,9,[2,10,7,0],[7,2,1]],10,0,[5,[],[7],[1,9,2]],[1,3,[],4]]] +[[[3,5,6,[0,6,5]],[[],[],[2],1]],[5,[],[4,0,4,[]]],[4],[[[3,7,4,8,7],[0],[1,9,1],[7,9,8,0,6],4]],[[[7,10,5],[5,5,6],0,7,[9]]]] + +[[[[2,9,7,8,4],2],[8,2,[3],[5,5]],9,[[2],[7,8,9],4,6,[]]],[[],7,[[8,10,2],0],[[4,10,5,7],3,6,[2,6,3,4]],[5]],[10,10,[0,[4,7],[2,1,6,3]]],[9,[4]],[]] +[[[3]],[7,[9,[],7,[8,3,1,1]],7]] + +[[10,[[0,1,4],8],[4],[],9],[5,[7,3,[10,8,4],9],[9,[4,3,8,3],2,[6,6,5,9,0],10],10,[[],[6,3,0,8,7],0,5]],[4,10,[1,[10,3],1,8]],[4,[[],[1,0,8,8,9],3,7],9,[[10,7,1,1],[],[8,2,6],5,[]]]] +[[[5,[3,0,3,2],4],[1,[],7,[],[1]],[[10,10,4,0,2],9,[9,3,9,7,5],[4,2]],[7,1,[5,7,8],6,10]],[[[7,2],[9,3,0,6]],[[9,10],[],[10,7],[6,4,7,5]],1,4,[]],[[[7,6,3],5,[0,2]]],[[5,8,3],2,6,[]],[[[10],[],[],8,0],[],[8,6,[7,5,3],[2]],3,[[7,10],5,3]]] + +[[[[8,6,2,3],9]],[[1,7,1,5,[6,1,1,2]],[],[[4,1,1,9,9],[0,2,5,0,7]],9],[1,[[10,10],6,4,0,0],1,[8],[10,0,9,5,[4,7,3,5]]],[10,[[0,4,8,3,5]]]] +[[0,[[5,6,6,7]],[6,3,[6],7,[3,0]],[8]],[2,10,9,5,10]] + +[[5,1],[7,[2,10,3,5,[10,4,6]]]] +[[7,7,9,1,9],[]] + +[[[],[5,1,[],6,[4,2,2,6,6]],10,[[],[5,8,5],0,[3,2,0,7,8]]],[[[8,10,3,7]],[[2,1,6,1,9]]],[2,7,6,0,[[4,6],10,[3,2,7],0,[]]],[10,[[],3,[9,10]],9,5,[[]]],[[[],[10]],7,6,[[5,0,1,1,5],[]],3]] +[[5],[6,[8,[10],4],[8,1],[[10],10,[7]],1]] + +[[2,[7,[],[],6],[[],3,[]]]] +[[],[],[[9,[3,10,0],0,[8]]],[8,[[],5,0,[4,6,5,2,5],8]],[[7],[3],[[9,5],[7,6,7]]]] + +[[4,2,8],[[[],0,9],2,6,3],[],[[[2,3],[1,0,0,8],1,6],7,6]] +[[[[3],10,2,8]],[6,3,[4,0,[7,7,2,9,9],[],5],[[0],3,6]],[8,[[6,7,10],[0,4],[2]],4,0,[]],[[9,[7,3],[0,0,5],4,4]],[1]] + +[[],[1],[1,[[10,9,2,0],[6,5,7]]],[10]] +[[[5,[3,6],4,[]],8,2,10,[[7,0,0,7],7]]] + +[[[],[[],8,1],[1],8],[],[3],[1,10],[3,[],[[4,0,10,8],2,3,[5]]]] +[[[[3,9,8]]],[[[0],9,[3,9,6,10],3]]] + +[[7,9,9,[],8],[[1,4]],[[1,[9,2,6,3],[1,4,6,0,2],4,[7,0]],9,[[3,2,1,9],[4,10,10],[7,7,5],[10,4,9,3,8],3],[[7,1,7,0,3],[10,2,7,0],5,[10,4,5]],[1,[8,3,2,0,0],7]],[2,[]],[]] +[[[[5,5,1,8,5],[2,6,0],[3]],[1,3,[4,5,2,1],6],[[7,4,8,5],10,[10,3]],0]] + +[[[4,8],0,2,[[3]]],[[4,4,8],9,10],[3,3,4,[[],7],[[6]]]] +[[8,[],[4,5,0,[1,5,5,6,6],[3,5,9,1,6]]],[[],6,8],[[2,9,[6,1,2,1,1]],[]],[9,6,3,1,2]] + +[[],[[[5,9,1,1,3],7,[10,0,5,7,5],[8,8]],4,7,[[2,10,8,4],[9,5,9,6],[]],8],[8,[[1,5,5,9]]],[5,6]] +[[7,0],[[[5],[],7]],[5],[10],[6,0]] + +[[],[]] +[[[],[],[7,4,7,[6,6,1]],[3,9,8,0,[5,2,3]],3],[[[1],1,7],[6,2,3],[1,[6,8,3,1,9],[]],[3,7,7,5,[2,2,3,5,9]],[4,5]]] + +[[4,[[8,6,3,10,0],2]],[9,[5,10,9,[3,1,0,8],3],1,8],[]] +[[],[],[9,[[2,4,7,0],8,[],7,2],4,5,1]] + +[[2,[7,[3,8],[7,2,3],7,[7,6,7,4]]],[0],[6,[7,[10,10,5],8],[7,[10,7,6],[9],3,9],10],[[[10,7],[2]],[6,[7,5,8],1,6,[10,0]]],[[],[1],[],[10,[10,3,4,8],6,[7,0,3]]]] +[[[[6,2,1]],2,1],[],[[1,[],0],0],[[8,[3,0,4,4],[7,7,10,9,1],2,[9]]]] + +[[3],[],[],[2,0,1],[10]] +[[2,[10,[],[1,0,5,4],[],1]],[4,[2]],[[4,2,4],4,[2],7],[[],[[1,4,7,10,6],[3]],[],1,[2,6,6]]] + +[[],[],[],[0,[[2,0],[2,6,10,0],5,[0,3,7,6,4]],[10,7],3,5],[2,2,[2,1,[5,2,2,8]]]] +[[[5],7,[5,[9,7,9],1]],[3]] + +[[[5,[5,8,0,2]],[10,6],1,6,[7,2,[],3,8]]] +[[[7,5,3,6],[6,[3],4,[]],[[3],[],[5,5],[0]],[[10,0,3,8,7],[5,3,6],[8,4,5],8,4]],[[7,7],[10,[10,7,6],[9,7,5,5],[4],9],0,[2],[]],[[],4,4,[1,0,[],0],[[5,4],0,[0],8,1]],[8,[4,[7,0]],[8,10,0,7],[[6,6],10,[8,1],4]]] + +[[],[[[],3,8],[4,8,9,[3]]],[],[2,1,10,[],[5]]] +[[[[3],1,[9,5],5,7],9,2],[2],[[0]],[],[[[7],10,9,[9,6,2]],[[10,1],8]]] + +[[],[],[[10],[[],[4],[0,2,1,4],[8,7,4,3],6],[9,[2]],[]],[[[10,5,3,1,9],0],[2,1,[7,7,8,9,1],5,[7,3,1,9]]]] +[[10,[5]],[]] + +[[7,2,[[],[2,1,0,1,9],6,[10,6,7,1]],[[],[6,6,1,2],[6],6,[8,2,2,10,8]],9],[6,[6,[3,5,0],[1,0,0,2],[5,9,8,1]]],[],[[[],8,0,[0,5,1,0,6]],[[3,5,9],8,0,0,[10,3]],[]],[8,[],[[2],10,8,[1,10,10,10]]]] +[[1,[[8,5,10,0,3],8,8],6]] + +[[[],[],5,9,[[],3]],[[[],[],[10,3,2,6]]],[[6]]] +[[[[0]],1,2,[[0],[10,6,7],[8,2,9,4,9],[6],[0,7,6,6]]],[6,3,[[8,6,8,9],[8],8,9],[2]]] + +[[6,[],5],[10],[5,3,8,[[7,1,2,1],[7,7,2],3]],[[4],[9,[5,6],10,3]]] +[[[1,7],0]] + +[[5,[]],[],[],[],[6,[[],0,[6,10,7,5],9],[[3],6,2,[7,8,8,1,6],7]]] +[[[2],0,[8,[5,6,2],1,3],[[7],10,[8,8]],[[8,5,4,7],9,[7,3,2,7,0]]],[1,[[2,6]],[5,6,8,[8,1,7,0,7]]],[3,7]] + +[[8,1],[0,5],[],[]] +[[8,6,[5]],[],[[],4,[[9,2]],4,[[9,10],[9,7,7],[6,6,5]]],[[[9,7,9,10],3,[1,5,2,6]],0],[[[10,1,7],[5,3,0],[]],1,[8,0,[9,6,7,5,0],[],[6,1]],[[8,7,2,1],7,1,4,10],[[5,6,8,5],[8,10,7,6,9],9,1,[]]]] + +[[[],[],7,6,3],[6,3,6,10],[[],[],[6,1,[7,9,8,2],[10]],3],[[]]] +[[2,[9,2],[[0,0,8,5]],7]] + +[[[7,5,2,5,3],1,[[],2,[],9],[[4,0,10,6,6],2],2],[[],[]]] +[[4],[]] + +[[[4,6,[7,9],9],6,[[0,10],[10,8,1],[6],[3,10,9]],3],[10,[[]]],[8,9,7]] +[[[8,8,[9,4,4,5],[8],3]],[],[10,10,3],[[[1],[5,0,2],0],3,[[4,1]],[[4,7,5],5,[]]]] + +[[[1,0,[],[10,2,7,5,3]],1],[[8,[7,6,3,5,6],[8,5,3,8]],9,[3,10],[1,2,[],5,1],[]],[[3,2,[],[1,4],[10]]],[]] +[[],[[0,2,9,7],5],[9]] + +[[5],[[]],[[[0,7,2],[5,6,6],[6,10,9,9,7],8],[],10]] +[[[[0],[6,2,8],[1,0,8,9],[]],[9],1],[10,4],[5,7,6,1],[]] + +[[[[6,10,7],[2],[3,0,2,9]],9,[[5,8,1,1,4],5,4,[0,2,4],[2,3,6,4]],[[10],[10,0,1]]]] +[[[6],5],[[2,1]]] + +[[10,[5,[1]],5],[[[1,4,6,6,7],[2,5],4,[5,3,5,3,7]]]] +[[9,[3,[],[],[3]],7,1],[[6,9,0,2,[8,8,10]],10,8,[]],[]] + +[[[6],[[10,9],5,[7],[7],[10,5,9]],0,[[10],[4,9],6,[0,1,4,10]],8]] +[[0,[0],[],5],[],[[[9,8],[6,3,1,3],7,8,[]],2,[[4,0,3]],[6]],[7,[[10,2,0,1],9,2],[[9,7,0,4,10],10,[3,10],5,6]]] + +[[0,0],[1,[],2],[6,4,5],[5]] +[[7,[[0],5],5],[5,[[4,3,8,4,0],[8,7,0],7],[],[[],10,5]]] + +[[],[5,2,[[5,2,4,8,5],9,6],[],[[8,5,5,4,10],8]],[[],[[1,7,4],[6,4,7],[10,1,10,7,3],[1,4,10,4],[]],[9,[5,0,10,5,9]]],[],[6,3,[10,[0,10,0,10]],2]] +[[],[[[8,7,10],1],[[5,2,8],[8,8,10],10],[[],8,[7,10,4]]],[[],[3,10,[7,0,8,4,6],2],10,[[6,6,5]],2]] + +[[],[1,[[],9,3,[1,2],[]],[10,1,7,[7,9,0,1,2]],3,3],[1,8,[[5,1,7]],6,[[9,1,3],[7]]],[7]] +[[[[],5],3,[],3],[[[],5],[[2,3,0,8,5],8],[[],3],3,0],[[[9,9,2,2]],7,5,2],[2,[],[8,6,[5,1,2],[9,0,7],[10,2,0]]]] + +[[[10,2,7]]] +[[4,[6],[[8,1]],[]],[[3],2],[[[],[7,0],[],[9,1],[4,2]],10,5],[7],[2]] + +[[[10,[10,3],[],4,[]],6],[[],0,[[],[8,7,8,2],3,[2,6,8,8],3],8,[[4,5,5,5,1],[1,4,6],[5,8,0],9]]] +[[],[5,[[4,4]],[[8,3,3,9]],[]],[1,2],[5,1,[[8,9,7,0,8],[10,2,0,4],0,7],1]] + +[[6,[[1,6,0,0],1],[8,9,5],4,0],[[[3,7,10,3]]]] +[[7,[6,[5,0],10,8],[0,9,[7,10,5,7,4],6],[7,[8,0,0,4,3],[7,10,8]],2],[[1,1,4],[[10]]]] + +[[[9,[6,2,5,1,1],5],6,10,9,9]] +[[[2,7,3]]] + +[[],[],[7],[2,[[2],[1,1,2]],4,[3,2]],[6,[10,1,9,3],9]] +[[3,2],[],[[[],[4,6],[7,1,10,4],3,9],[8,[8],[1,7],[4,5,1,1],[]],9,0,9],[1,[[1,9],[0,4,1],[2,8],[],0],[[0,0,3],[9,8,1],[5],4]],[[4,[4,10,2],[]]]] + +[4,6,9,10] +[4,6,9,10,4] + +[[],[],[2,9],[]] +[[7,9,10],[2,[[8,2,3],[1,4,1,4,10],7],5,[[6,8,0,5,1],[8,10,9],1],2],[9],[[]]] + +[[[[],[9],[],[7]],[0,0],5]] +[[],[3,8,[5,5,9]],[7,1,[10,[]]],[[1,5]]] + +[[],[9,10,10],[6,[[5,0,0],9]],[0]] +[[[],4]] + +[[4,10,10]] +[[5],[9,8,10,[[2,1,8,7,4],[],7,9,[]]],[9,[],[4]],[],[[10]]] + +[[3,3,[],0],[],[[1,7,0],[],[7,5,[7,6]],[[3],[7,8]]],[4],[7]] +[[[6,[7,7,5,1,4],2,10]],[],[[7,10,[],5],[8],10],[4,[[5,1]],[]]] + +[[1,2,4,10],[],[[10,[7,10,7,10],[8],6],[[0,6,7,6,1],2,8,8,7]],[],[]] +[[9,10],[7]] + +[[[7,6,[9,9,3,3]]]] +[[0,3],[[],8,4],[1],[[[],8,[6,1,3,0]]],[[0,1,7,0,[6,2,8,5]],[[7,7,7],[2,7],3,10,6],0,[[9,5,2,5],6,[4]],6]] + +[[4,6,4,10,[]],[],[]] +[[],[[],[[3,8,7],1,[6,0,3,3],[6,9],[9,7,10,6]],10,[0,7,2]],[[[9,6,6],1,[],[6,9,4,0]]],[[[6,5,3,7,4]],[],[7],[8,8,[1,5,2,7,7]]]] + +[[[[5,1,2,2,9]],[3,5,6,[7,10]],7,[8,[9,10,3],[3,10,4,2,1]],[[5,3,4,10,3],[10,1],7,1,[]]],[[[8,8,8],9,[],3,[2,9]],9,[5,5,[10,9,5,1,1],[],4]]] +[[[9,10,[4],[]],[10]],[[],9,4,[[9],[1],[5,10,4],2,[0,4,7,10]]],[2,2,5,[[6,0],2,[8,7]]]] + +[[],[],[6,9,7],[1,[[8],[],5,[3,1]],[[2,5],10,[],3]]] +[[[5,[7,0,7,10,5],5,0],1,6],[0,8],[1,0,[[3],[9],[1,3,4,5,3],10],[],5]] + +[[6,3,[[3,2,9,3]],[]],[[],2,5],[],[1,6,3],[9]] +[[9]] + +[[2,4,[6,[6],[2,8]],[[7,10,7,3]]],[9,4,[],7,2]] +[[9],[],[8,[[5,10,6],1],7,0,2]] + +[[1,5,[5,9,[3,0]],[9,[5,6],[8],[8,1,8,0]],10],[9,[0]]] +[[4,5,[3,8]]] + +[[],[[[]],[[6,5,7],2,[0,0,3,0]]]] +[[6,[],1,2],[[[10,4,1,6,9],[8,8,1,7,8],[]],1,10,2]] + +[[2,[10,0,1,[5,7,9,10,10],[10]]],[0,[9,0,6,6],4,0],[2,[10,[],[],1],[[2,10],[9,7],[5,4,10]],7,[[8,10,1],5,9,[8,3,2,1]]],[2,[[6,8,3]]],[0,1]] +[[8,[4,[5,1,5]],5,5,9],[],[[4,4,[]]]] diff --git a/README.md b/README.md index 8c76ad2..2c6729f 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,10 @@ The directories for each day contain my input file, my code and a README that sh ## Recommended Days These are the days with to most interesting code so far: -1. **day 4**: *x86-64 assembly* with the help of ChatGPT -2. **day 6**: *html+javascript* [check it out here](https://quintern.xyz/advent22/day6.html) -3. **day 7**: *awk+bash* +1. **day 13**: *HolyC* on a TempleOS virtual machine +2. **day 4**: *x86-64 assembly* with the help of ChatGPT +3. **day 6**: *html+javascript* [check it out here](https://quintern.xyz/advent22/day6.html) +4. **day 7**: *awk+bash* Also, check out the repositories of my friends who do stuff in go, Visual Basic, php and many other languages! - [Daniel](https://git.quintern.xyz/TheShinyMelon/AOC_2022) @@ -23,6 +24,7 @@ Also, check out the repositories of my friends who do stuff in go, Visual Basic, - **Bash**: day 1, 7 - **C**: day 3, 4 - **C++**: day 2, 8, 14 +- **HolyC:** day 13 - **Java**: day 10 - **Javascript**: day 6 - **php**: day 9