From ab79a698c8f0ea33d21134672ec1f8b8e6c76e3a Mon Sep 17 00:00:00 2001 From: dfdx Date: Fri, 5 Jul 2024 20:35:07 -0400 Subject: [PATCH] Restore aoc backup. --- 2015/day08/answer01 | Bin 0 -> 15744 bytes 2015/day08/answer01.c | 52 ++++++++ 2015/day08/answer02 | Bin 0 -> 15744 bytes 2015/day08/answer02.c | 43 ++++++ 2015/day08/input | 300 ++++++++++++++++++++++++++++++++++++++++++ 2015/day08/makefile | 16 +++ 6 files changed, 411 insertions(+) create mode 100755 2015/day08/answer01 create mode 100644 2015/day08/answer01.c create mode 100755 2015/day08/answer02 create mode 100644 2015/day08/answer02.c create mode 100644 2015/day08/input create mode 100644 2015/day08/makefile diff --git a/2015/day08/answer01 b/2015/day08/answer01 new file mode 100755 index 0000000000000000000000000000000000000000..06e73b7e7b1693027482b78e252d6f00288d33cf GIT binary patch literal 15744 zcmeHOZ)_CD6`wm}a0qaQLSi5dD+-E};Kl#290K9|mvscjAtve{lI8I2*(c6-*4`Qn zRH@O~sE$QMq!OX3siHI=Xw(l$6;-Gb>7^vNq-|uXR`Q3ax>iZ$E3^SMZHZcOeQ)-? zWpBA_t9*#6YDe1r&HKIgW@g{a?#IELz1< zINvY6C>8>}0FE%Jy*L-N6^vD6R{@BAHCQQu_t~^y0+C8|jF z;%aJ?k@Zf03OYkk{2ZkIa)caD z96lbc6i+XPL5C$Q&q8?p#>mf$3fVJq?4SI|ihh><`pB=78ua2O>W`88djkA0F8^)e zY2Hiym79lpia#TTRcubg54JRKPDJYx@#N@O-B@c&T}!i?PN|J@2so~KIB-qv?A<4V z<06Y3EkC%20#fGof+T~9ENF{kL_PXr!71S7fVcz>)Z5p60%|sgc*S^s7_nTr2NWwx zC{F^Xl;F1jSIS;3!*`V7`^)fnt)<$31$YGxZ>a^Ml>N3c{2Rb4aCl1qi1l6)WnCW_ zi|DaEEqK4bvEmr!B+m-`$Z& zC5`^b!Gr;085~X}X)L;JTG9|M238lWo(gyZ;MuO@8P`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z4Kp22C5r?dbf%Grpaa!L5|&Wqm{h2$ zgDDU#V+_u6ic~Wt=TJ3<^q3hLHuRw=G{TbYsz*#S0>eWOu0s!z;rIY_pR%xJ7#ywz z6@o6*fzuYw(jyJ5b!fONMtMdGlq$0;LmH8 z@o#Bv|1t7sRM?P^pG!=4LgjDp8O{BlC4a^ZWJn+9&OV3zd!d4R7WU_T4I@6Eu;6wB zt2}<*UpxgIcFF#{Ph#YK5tzv0jo&lC;vR(kdEddv`!yav+c6#jf85is%=;R~uu%g|vj7Br{;(F^`ZWP@{Ne@5KDx&8UQXrBE098bH#evE(d`13xnwcfVp zadI>4$MUC8L5|1I`znq6z4jCib{Dsxh8&qYJo`5~j9p=WH#%$AWjjs{&XN*8hj0#f mJpBB{`-8{sau +#include + +int main() { + FILE *file = fopen("input", "r"); + if (file == NULL) { + perror("main: error opening file."); + return -1; + } + + int32_t total = 0; + char line[256]; + while (fgets(line, sizeof(line), file) != NULL) { + int32_t c = 0; //code characters + for (int i = 0; i < 256; i++) { + if (line[i] == '\0' || line[i] == '\n') + break; + c++; + } + + int32_t s = 0; //string characters + for (int i = 0; i < 256; i++) { + if (line[i] == '\0' || line[i] == '\n') + break; + if (line[i] == '\\' && line[i+1] == '\\') { + i++; + s++; + continue; + } + if (line[i] == '\\' && line[i+1] == '\"') { + i++; + s++; + continue; + } + if (line[i] == '\\' && line[i+1] == 'x') + i = i + 3; + s++; + } + + //+2 to account for the beginning and ending quotes still contained in s + total += c - s + 2; + } + if (ferror(file)) { + perror("main: error reading file."); + return -1; + } + fclose(file); + + printf("%d\n", total); + + return 0; +} diff --git a/2015/day08/answer02 b/2015/day08/answer02 new file mode 100755 index 0000000000000000000000000000000000000000..5b9c3c1ed531b49d7ccbb332b3609704d38fab45 GIT binary patch literal 15744 zcmeHOYitzP6~4R1;1IxuKw=;*BMK@>@ZcAgOF~#b8Am)EVj{JLOc(F0y<)v<&5na1 zQfg$3>TYR?6e3iWDoXQ%M*WdgQH3gnZc2hnT1B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V9gK^}kW*T8-)8c-{3FT^^~qy5)lyfL(0Qq#Sp_L1s44^@qcZL1!< zziFKegZ?=FIk5Boj)cDZU^@ll72usuv@NMQ9`0B?zvAy9m=X{{3o;O7Ajm+Ffgl4x z27(L(83-~EWFW}E|91wsK9B41@YMzz)&OF2YvZUO5Q+h1d-g7cD@o?Mzttr38__C~ zx&9B|qp-35FEE8=U!D#O-X5jQd4|_XDZfGb zk4ffv(=eYoaQ(P{;1;?Lx(OdAj1xXdc%1M#LXH!OsNVLDjxE}T?N-W3r?rMgy-9B{ zha2k~o9Z_=wrInR_YtWv#{tS9=5wC7E`O)?o0Q`5x(lhvkX5|hW`WbI3NG~{|3AUo4?J66SFj2EBL&#{x0OP%2-nj-R@#7@HJwk=#8+Y z!fOD_#1i*^Ci2S~;J!%q{`@onkM^gi&RBkD1NN#=W9b8_5q;Q(uR?9-Fi~yoJ#|iWKuFzSG&3ml*x?k!Q|Q=A^Q2{G66sWtV1mxJ zl2LS^-f+?px}1{^U40-8qGOH1UY;V|PRnzsTZ3lYjt*JoU<`t=q+HFYZAW2x=)rv$ zAv%=khvCx>Muy4ZwV*@Nh2EbY8iMDv_iFz1eOw>Ft>FG|rItSE7>?D!F@Ba!Yy#Af+N4Sw43H|;* z1K#UDOn!_%^7(V#n7#xZD07te5OVz9!vFX4+q2C08}O<2`15SwN(Z}(o6tj!%w3-S8(l_q*x!rp zwd=7Rqkz+-#Lpo-2Rt8s{^I??bN9H5-X +#include + +int main() { + FILE *file = fopen("input", "r"); + if (file == NULL) { + perror("main: error opening file."); + return -1; + } + + int32_t total = 0; + char line[256]; + while (fgets(line, sizeof(line), file) != NULL) { + int32_t c = 0; //code characters + for (int i = 0; i < 256; i++) { + if (line[i] == '\0' || line[i] == '\n') + break; + c++; + } + + int32_t e = 0; //newly encoded characters + for (int i = 0; i < 256; i++) { + if (line[i] == '\0' || line[i] == '\n') + break; + if (line[i] == '\"' || line[i] == '\\') + e++; + e++; + } + e = e + 2; //+2 to account for the beginning and ending quotes + + total = total + e - c; + } + if (ferror(file)) { + perror("main: error reading file."); + return -1; + } + fclose(file); + + printf("%i\n", total); + + return 0; +} + diff --git a/2015/day08/input b/2015/day08/input new file mode 100644 index 0000000..3309605 --- /dev/null +++ b/2015/day08/input @@ -0,0 +1,300 @@ +"sjdivfriyaaqa\xd2v\"k\"mpcu\"yyu\"en" +"vcqc" +"zbcwgmbpijcxu\"yins\"sfxn" +"yumngprx" +"bbdj" +"czbggabkzo\"wsnw\"voklp\"s" +"acwt" +"aqttwnsohbzian\"evtllfxwkog\"cunzw" +"ugvsgfv" +"xlnillibxg" +"kexh\"pmi" +"syvugow" +"m\"ktqnw" +"yrbajyndte\\rm" +"f\"kak\x70sn\xc4kjri" +"yxthr" +"alvumfsjni\"kohg" +"trajs\x5brom\xf1yoijaumkem\"\"tahlzs" +"\"oedr\"pwdbnnrc" +"qsmzhnx\"" +"\"msoytqimx\\tbklqz" +"mjdfcgwdshrehgs" +"\"rivyxahf\"" +"ciagc\x04bp" +"xkfc" +"xrgcripdu\x4c\xc4gszjhrvumvz\"mngbirb" +"gvmae\"yiiujoqvr\"mkxmgbbut\"u" +"ih" +"ncrqlejehs" +"mkno\x43pcfdukmemycp" +"uanzoqxkpsksbvdnkji\"feamp" +"axoufpnbx\\ao\x61pfj\"b" +"dz\\ztawzdjy" +"ihne\"enumvswypgf" +"\"dgazthrphbshdo\\vuqoiy\"" +"dlnmptzt\\zahwpylc\\b\"gmslrqysk" +"mhxznyzcp" +"rebr\"amvxw\x5fmbnfpkkeghlntavj" +"lades\x47ncgdof\"\"jmbbk" +"dwxuis\xa5wdkx\\z\"admgnoddpgkt\\zs" +"g\\k\x27qsl\x34hwfglcdxqbeclt\xca\\" +"lhyjky\\m\"pvnm\\xmynpxnlhndmahjl" +"c\"uxabbgorrpprw\"xas\\vefkxioqpt" +"rfrvjxpevcmma\x71gtfipo" +"fgh\"kcwoqwfnjgdlzfclprg\"q" +"onxnwykrba" +"hkkg\x60f\"tjzsanpvarzgkfipl" +"\"aintes\"ofq\"juiaqlqxmvpe\\a" +"wiyczzs\"ciwk" +"mfqeu" +"v\xe1z\x7ftzalmvdmncfivrax\\rjwq" +"k\"vtg" +"exhrtdugeml\xf0" +"behnchkpld" +"mhgxy\"mfcrg\xc5gnp\"\"osqhj" +"rlvjy" +"awe" +"ctwy" +"vt" +"\x54t" +"zugfmmfomz" +"cv\"cvcvfaada\x04fsuqjinbfh\xa9cq\xd2c\"d" +"oj" +"xazanf\"wbmcrn" +"\\\\zkisyjpbzandqikqjqvee" +"dpsnbzdwnxk\\v" +"sj\"tuupr\\oyoh" +"myvkgnw\x81q\xaaokt\\emgejbsyvxcl\\\xee" +"ejeuqvunjcirdkkpt\"nlns" +"twmlvwxyvfyqqzu" +"\"xwtzdp\x98qkcis\"dm\\\"ep\"xyykq" +"vvcq\\expok" +"wgukjfanjgpdjb" +"\"mjcjajnxy\\dcpc" +"wdvgnecw\\ab\x44klceduzgsvu" +"dqtqkukr\"iacngufbqkdpxlwjjt" +"\"xj\"\x66qofsqzkoah" +"nptiwwsqdep" +"gsnlxql\x30mjl" +"yeezwokjwrhelny\"" +"bjauamn\\izpmzqqasid" +"tvjdbkn\"tiziw\x82r" +"w" +"xwoakbbnjnypnaa\xa9wft\"slrmoqkl" +"vwxtnlvaaasyruykgygrvpiopzygf\"vq" +"qdancvnvmhlmpj\\isdxs" +"xzc\\elw" +"b\"wxeqvy\"qf\"g\xcaoklsucwicyw\"dovr" +"yomlvvjdbngz\"rly\"afr" +"bfb\"x\"aweuwbwmoa\x13\"t\"zhr" +"\"dmfoxb\"qvpjzzhykt\xd2\"\"ryhxi" +"psqef\"yu\\qiflie\"\x79w" +"arzewkej\"lqmh\\sayyusxxo\\" +"vuvvp" +"hc\"lg\x6bcpupsewzklai\"l" +"cjdfygc\"auorqybnuqghsh\x10" +"j" +"wqjexk\"eyq\\lbroqhk\\dqzsqk" +"dws\"ru\"dvxfiwapif\"oqwzmle" +"agcykg\\jt\\vzklqjvknoe" +"kksd\"jmslja\\z\"y\\b\xaagpyojct" +"nnpipxufvbfpoz\"jno" +"dtw" +"xlolvtahvgqkx\\dgnhj\\spsclpcxv\\" +"mxea\\mbjpi" +"lgbotkk\"zmxh\\\\qji\"jszulnjsxkqf" +"lwckmhwhx\"gmftlb\x91am" +"xxdxqyxth" +"\"lmqhwkjxmvayxy" +"tf" +"qy" +"wdqmwxdztax\"m\"\x09\x11xdxmfwxmtqgwvf" +"\xcbnazlf\"ghziknszmsrahaf" +"e\x6aupmzhxlvwympgjjpdvo\"kylfa" +"\x81vhtlillb\xactgoatva" +"dvnlgr" +"f" +"xg\xfacwizsadgeclm" +"vnnrzbtw\"\\prod\\djbyppngwayy\"" +"lrt\xf4jahwvfz" +"aqpnjtom\"ymkak\\dadfybqrso\\fwv" +"gz\"aac\"mrbk\"ktommrojraqh" +"wycamwoecsftepfnlcdkm" +"nrhddblbuzlqsl\x9cben" +"vckxhyqkmqmdseazcykrbysm" +"sil\xbbtevmt\"gvrvybui\"faw\"j" +"cjex\\tp\x45pzf" +"asjobvtxszfodgf\"ibftg" +"gkyjyjdrxdcllnh\"sjcibenrdnxv" +"oswsdpjyxpbwnqbcpl\"yrdvs\\zq" +"\"\"tyowzc\\fycbp\"jbwrbvgui" +"cbpcabqkdgzmpgcwjtrchxp" +"iyrzfh\x45gw\"fdlfpiaap\x31xqq" +"evgksznidz" +"b\\w\\" +"loufizbiy\x57aim\"bgk" +"qjfyk" +"g\"anmloghvgr\x07zwqougqhdz" +"usbbmwcxd\\bdgg" +"htitqcpczml" +"eke\\cqvpexqqk\"to\"tqmljrpn\xe6lji\"" +"g\xd2ifdsej" +"h\"sk\"haajajpagtcqnzrfqn\xe6btzo" +"wfkuffdxlvm\\cvlyzlbyunclhmpp" +"myaavh\"spue" +"hqvez\x68d\"eo\"eaioh" +"s\"qd\"oyxxcglcdnuhk" +"ilqvar" +"srh" +"puuifxrfmpc\"bvalwi\x2blu\\" +"yywlbutufzysbncw\\nqsfbhpz\"mngjq" +"zbl\\jfcuop" +"hjdouiragzvxsqkreup\\" +"qi" +"ckx\\funlj\xa7ahi" +"k" +"ufrcnh\"ajteit" +"cqv\"bgjozjj\x60x\xa8yhvmdvutchjotyuz" +"hkuiet\"oku\x8cfhumfpasl" +"\"\\sbe\x4d" +"vhknazqt" +"eyyizvzcahgflvmoowvs\\jhvygci" +"kki\x3ewcefkgtjap\"xtpxh\"lzepoqj" +"wvtk" +"\"ynet" +"zh\\obk\"otagx\x59txfzf" +"ocowhxlx\xe6zqg\x63wx\\tclkhq\\vmaze" +"w\"cf" +"qpniprnrzrnvykghqnalr" +"jctcqra\"\x05dhlydpqamorqjsijt\\xjdgt" +"sig" +"qhlbidbflwxe\"xljbwls\x20vht" +"irmrebfla\xefsg\"j" +"nep" +"hjuvsqlizeqobepf" +"guzbcdp\"obyh" +"\"mjagins\xf9tqykaxy\"" +"knvsdnmtr\"zervsb" +"hzuy" +"zza\"k\"buapb\\elm\xfeya" +"lrqar\"dfqwkaaqifig\"uixjsz" +"\"azuo\x40rmnlhhluwsbbdb\x32pk\\yu\"pbcf" +"dplkdyty" +"rfoyciebwlwphcycmguc" +"ivnmmiemhgytmlprq\\eh" +"lhkyzaaothfdhmbpsqd\\yyw" +"tnlzifupcjcaj" +"\\qiyirsdrfpmu\\\x15xusifaag" +"\\lcomf\\s" +"uramjivcirjhqcqcg" +"kkbaklbxfxikffnuhtu\xc6t\"d" +"n\xefai" +"\"toy\"bnbpevuzoc\"muywq\"gz\"grbm" +"\"muu\\wt" +"\\srby\"ee" +"erf\"gvw\"swfppf" +"pbqcgtn\"iuianhcdazfvmidn\\nslhxdf" +"uxbp" +"up\\mgrcyaegiwmjufn" +"nulscgcewj\\dvoyvhetdegzhs\"" +"masv\"k\\rzrb" +"qtx\x79d\"xdxmbxrvhj" +"fid\\otpkgjlh\"qgsvexrckqtn\xf4" +"tagzu" +"bvl\\\"noseec" +"\\xgicuuh" +"w\"a\"npemf" +"sxp" +"nsmpktic\x8awxftscdcvijjobnq\"gjd" +"uks\"\"jxvyvfezz\"aynxoev\"cuoav" +"m" +"lkvokj" +"vkfam\"yllr\"q\x92o\x4ebecnvhshhqe\\" +"efdxcjkjverw" +"lmqzadwhfdgmep\x02tzfcbgrbfekhat" +"cpbk\x9azqegbpluczssouop\x36ztpuoxsw" +"cqwoczxdd\"erdjka" +"cwvqnjgbw\\fxdlby" +"mvtm" +"lt\"bbqzpumplkg" +"ntd\xeeuwweucnuuslqfzfq" +"y\xabl\"dbebxjrlbmuoo\\\x1au" +"qjoqx\\a" +"pu\"ekdnfpmly\xbago\"" +"fjhhdy" +"arl" +"xcywisim\"bwuwf\"\"raepeawwjub" +"pbe" +"dbnqfpzyaumxtqnd\xc5dcqrkwyop" +"ojv\x40vtkwgkqepm\x8bzft\\vedrry" +"wggqkfbwqumsgajqwphjec\"mstxpwz" +"zjkbem" +"icpfqxbelxazlls" +"pvpqs\\abcmtyielugfgcv\"tjxapxqxnx" +"oqddwlvmtv\"\x39lyybylfb\"jmngnpjrdw" +"gisgbve" +"\"aglg" +"y\"\"ss\xafvhxlrjv" +"qbgqjsra" +"ihshbjgqpdcljpmdwdprwloy" +"djja\\wcdn\"svkrgpqn\"uz\"hc\x43hj" +"cbjm" +"pnn" +"pqvh\"noh" +"\"\\fdktlp" +"ncea" +"pqgzphiyy" +"\xbedovhxuipaohlcvkwtxwmpz\"ckaif\"r" +"arjuzbjowqciunfwgxtph\"vlhy\"n" +"c" +"nrpdxunulgudqzlhtae" +"iefheu\"uru\"" +"aqijysxuijud\"np\\opbichhudil\xbesum" +"pfpevmtstl\"lde\"bzr\"vspdxs" +"vparfbdjwvzsocpnzhp" +"g\x4ffxaarafrsjthq\\\xc1rw" +"ng\\rqx\\gwpzucbh\xafl" +"rw\"nf\\dna" +"jkkeahxurxla\\g\xb3czrlsyimmwcwthr" +"twaailoypu\"oas\"kpuuyedlaw\\\xb0vzt" +"hznex\\gdiqvtugi" +"imdibsunjeswhk" +"ta\\icileuzpxro\"cfmv\"mzp" +"coykr\x57luiysucfaflmilhlehmvzeiepo" +"u\x3dfh\xd4yt" +"piw\x1bz\"eowy\"vfk\"wqiekw" +"gan\"y" +"p\"bevidoazcznr\"hddxuuq\"" +"bwzucczznutbxe" +"z\"viqgyqjisior\\iecosmjbknol" +"dmlpcglcfkfsctxydjvayhymv\x3c\\gp" +"bfvkqrintbbvgfv" +"xlzntrgdck\"cprc\xadczyarbznqmuhxyuh" +"uqdxnuwioc\"kdytxq\\ig" +"xrafmucpmfi" +"vr\"hltmfrge" +"eonf\"nt\\wtcnsocs" +"j\xb7xoslyjeyjksplkqixncgkylkw" +"njw\"pefgfbez\x9axshdmplxzquqe" +"di\x58bvptfsafirpc" +"l\x1fkco" +"x" +"mprndo\"n" +"psegit" +"svbdnkkuuqs\"sqxu\"oqcyz\"aizashk" +"cwkljukxer\\\"\\nff\"esjwiyaoy" +"ilxrkgbjjxpvhdtq\"cpiuoofdnkpp" +"hlngi\"ulxep\\qohtmqnqjb\"rkgerho" +"gxws\"bcgm\"p" +"bv\"mds\\zhfusiepgrz\\b\x32fscdzz" +"l\xfampwtme\x69qvxnx\"\"\xc4jruuymjxrpsv" +"qqmxhrn" +"xziq\\\x18ybyv\x9am\"neacoqjzytertisysza" +"aqcbvlvcrzceeyx\\j\"\"x" +"yjuhhb" +"\x5em\"squulpy" +"dpbntplgmwb" +"utsgfkm\\vbftjknlktpthoeo" +"ccxjgiocmuhf\"ycnh" +"lltj\"kbbxi" diff --git a/2015/day08/makefile b/2015/day08/makefile new file mode 100644 index 0000000..ebf97ea --- /dev/null +++ b/2015/day08/makefile @@ -0,0 +1,16 @@ +CC = gcc +CFLAGS = -std=c99 -Wall -Wextra +LDFLAGS = +DFLAGS = -std=c99 -Wall -Wextra -g + +1: answer01.c + $(CC) $(CFLAGS) $(LDFLAGS) answer01.c -o answer01 + +2: answer02.c + $(CC) $(CFLAGS) $(LDFLAGS) answer02.c -o answer02 + +1d: answer01.c + $(CC) $(DFLAGS) $(LDFLAGS) answer01.c -o answer01 + +2d: answer02.c + $(CC) $(DFLAGS) $(LDFLAGS) answer02.c -o answer02