diff --git a/2025/day-05/README.md b/2025/day-05/README.md new file mode 100644 index 0000000..e69de29 diff --git a/2025/day-05/input-small.txt b/2025/day-05/input-small.txt new file mode 100644 index 0000000..2e9078d --- /dev/null +++ b/2025/day-05/input-small.txt @@ -0,0 +1,11 @@ +3-5 +10-14 +16-20 +12-18 + +1 +5 +8 +11 +17 +32 diff --git a/2025/day-05/input.txt b/2025/day-05/input.txt new file mode 100644 index 0000000..eabafda --- /dev/null +++ b/2025/day-05/input.txt @@ -0,0 +1,1191 @@ +462775491294940-463582889113120 +204662450655015-205279526289942 +195072090150053-197321945858343 +201677634524409-202496265597198 +308982094563307-310339944666558 +301948655883416-303027957137590 +555448515735781-561344871659953 +302768849032641-304192703468138 +85706693390524-90013380528877 +322262707029334-329975739146843 +394634765071775-394634765071775 +209415014085108-209789763886902 +466288729700360-467034805671137 +111866183522214-113273176055257 +207200210526602-207813945061252 +92296000813027-93148248408815 +118018135435885-119572154775897 +81322256364416-85706693390523 +402818972650629-403030049102670 +273004447889652-280622095948246 +12121748744376-14402343843912 +555448515735781-555448515735781 +444378203769203-448362956832076 +263966479879883-268587217893035 +315950527359728-318923326149596 +31136245008643-39136626335803 +318923326149596-318923326149596 +97859240829054-98437826689947 +337363029840889-340978712090850 +483721490729166-488596623911250 +96633400526822-97232530712298 +191475728051128-193694293552840 +514943463651497-518447935323551 +414077945349115-420955395491866 +305491782697112-306668790674738 +95663575055329-96129715139644 +225770499162927-226446570767750 +548135491105156-550394088630059 +466600884411281-466847135452990 +417381819909889-420955395491866 +322262707029334-329975739146843 +113663372885939-115053004784573 +214435179565103-217049361239365 +158679087319418-158679087319418 +310157086992948-311509511747499 +201353075590107-202110805777472 +463357434151967-464064118008889 +500018198684330-501320219579847 +134265415033383-139508331887352 +115543764377261-116786559706685 +469635355690940-470404605211991 +427921597758850-427921597758850 +344177441001707-346577632492871 +182008176095704-185508331435210 +98948089663042-99614440299599 +114440350303803-115672332153405 +365399572939090-365399572939090 +98437826689947-99047307620170 +409727392925435-410233757004773 +346577632492873-350358496806643 +463802515179920-464064118008889 +1245609433989-9576851097969 +203614075746130-204149278347242 +306427912306425-307851417603359 +404986426240162-405346481769986 +488596623911251-492181395034834 +142047130219563-146366508599969 +284481668168678-291194003734095 +112592260910023-113826195742422 +222385409645141-229491506157890 +94551574034511-94786141284248 +456106241767143-461205217948227 +201942097489401-202496265597198 +404986426240162-405812944616976 +91641847088106-91850003245923 +365399572939091-368225585168507 +94551574034511-94786141284248 +376010888093960-380559088170455 +407270592132056-407427212012059 +407270592132056-407820536492277 +73668770982949-77804794297319 +406050837894986-406257089341655 +434772789898622-436278045921496 +53356102966011-59629561837009 +205654324685024-206235926176692 +198324140693405-200808835030122 +93264851899835-93530746604345 +208541118649177-208879319873699 +529379820119189-529379820119189 +543570934301110-550394088630059 +31136245008643-34992019493046 +63046119399693-67090818321013 +14402343843914-17870382168258 +205279526289942-205953905281669 +73668770982949-73668770982949 +474272694471857-476943475801018 +110703393372104-112205432005436 +334369499913717-337363029840888 +201226411468362-201942097489401 +394634765071775-399127645797050 +203400968746464-204019487861231 +500789313814904-502379573425969 +294534513811238-297573021250408 +217049361239365-217049361239365 +383833843682963-390638012193847 +425708066360711-427921597758850 +174903915595077-179677051123532 +463582889113120-464321267689807 +468271769428310-468916249383191 +206672498228393-207200210526602 +536323204884495-539152951560869 +456106241767143-461205217948227 +294534513811238-301115593561761 +210485673582267-210770196208115 +499065106765678-500443560375390 +469401571999452-470134134596314 +44167383712018-47037128335223 +493658231249294-495183917064332 +492832048916008-494249282774617 +445860162746824-451842208426076 +103336067976093-106199698039579 +162604929528375-164731451918117 +465633202723031-466045109251158 +275729955642767-280622095948246 +463582889113120-464064118008889 +99614440299599-99872395256849 +151362657251612-158679087319417 +99047307620170-99346152136859 +134265415033382-134265415033382 +255798213871967-255798213871967 +234803686972144-234803686972144 +144253395965270-149305610506390 +514943463651496-514943463651496 +534328432078023-540971408317111 +495803024326939-497368125097018 +359808223197947-359808223197947 +125115246194792-129348972503898 +308140930478075-309670992823154 +96129715139644-96633400526822 +121695804279947-129348972503898 +97657731149889-97859240829054 +241787807263783-247407127385223 +307333643021522-308710425117041 +96129715139644-96633400526822 +282160547171438-288026016998667 +185508331435211-188777536430484 +476943475801020-481154131552566 +208621028156547-209415014085108 +51656912408630-56145142573189 +192833184039983-195681751089649 +90582621242401-91107574772819 +255798213871968-259809960810501 +94173168030842-94350530670819 +494810649734294-496405949326211 +263966479879883-268587217893035 +434772789898622-440308164885524 +47037128335223-47037128335223 +386638563082652-388460871197227 +497831449262334-499406218604553 +94786141284248-95663575055329 +465914508718742-466600884411281 +162604929528375-167930549480823 +466847135452990-467304322300635 +196130091177561-199198001020034 +467034805671137-467555681599366 +202110805777472-202496265597198 +90582621242401-91338323210426 +405812944616976-406257089341655 +119206534397021-120255774175238 +116452330923307-117805109761001 +234803686972144-239305292477674 +496797304715506-498381683268418 +4032864012375-7233622410080 +403258321208611-403522282263257 +22817979466608-28994598608416 +209210772925915-209415014085108 +247407127385225-248594486459736 +202110805777472-203009638473005 +28994598608417-28994598608417 +303526965628921-305026602533239 +504638973961226-511007019650159 +208170131601586-208621028156547 +410233757004773-410848935322178 +304642525392443-305980428896202 +206672498228393-207414744849729 +355658897825924-359808223197946 +526152422597815-529379820119188 +63046119399693-67090818321013 +117205455156164-118418043066992 +98640412516209-99346152136859 + +519459619141979 +243067475839399 +216876042423258 +490763988557976 +364691939958426 +163042422789655 +358142910013974 +283258529016866 +337085615439890 +406196810881204 +526616704613646 +25938690677195 +498345653022015 +59878254567565 +87373616594037 +490150717756301 +257759016078097 +41279087803453 +32516878485382 +423096866470245 +408795627323399 +449927330711725 +515293162949814 +305740071447666 +183731015035487 +452011266948623 +147154937670521 +547002103349897 +94142480510550 +156819467867600 +66939163442300 +362533901950718 +519306100457125 +464542003737270 +325142133637896 +497833647547356 +219370192809095 +536660515509939 +107574049909672 +44274137518898 +349075630510836 +522753652990334 +24381142428265 +280359313222262 +66082571678164 +539278188153398 +491014527575231 +258981233561456 +157213560949859 +209943181403514 +166504594757493 +285419473420663 +306292289896075 +506340825788086 +140879321280083 +310477435815982 +6153485590878 +45994192436782 +384279398066306 +115346008209211 +418940400120004 +68925131367845 +349363206643393 +474327028242599 +295604883371720 +255466109513247 +448139670631715 +510070463135198 +183459919174657 +144436557180111 +202616937328749 +358905157513331 +199662595456513 +207096560682162 +305435752695258 +307583095270264 +76883176480549 +274568521812151 +548895729870365 +266093789390023 +349572798172389 +349545991768332 +493658712583316 +479440664535529 +96147408038670 +497303956580940 +477808661457919 +186479588566035 +410193922251089 +166974378247160 +272320173537485 +287695102632542 +200191342462473 +45858394584141 +45040124892616 +152259365095415 +496116808387391 +549962584696370 +246558816864169 +53055940398504 +244318250161269 +228904877569847 +420582535720328 +340116892303795 +219136687033510 +142903480481895 +245038293430472 +518057435176260 +459905962421721 +112001641268041 +327382397037545 +452855174616517 +132284554506693 +278685989539741 +204977494394503 +481510553476992 +486047886288177 +373561677256093 +416870561269312 +204063536177045 +556437282827083 +89207610592476 +75629989398271 +534359862626728 +97980951599484 +54930996179339 +278391187386736 +251956231164397 +310521239176572 +193612589872891 +145989961711062 +84246515419720 +514359964684099 +266186541398989 +356999033892210 +139478139459632 +398561690673574 +162911032822355 +425812571842897 +419070606376849 +63184968246269 +8785410073156 +462200835905232 +310667192080176 +202075644924147 +544300320227305 +31372303786721 +499415161510631 +177237265468396 +416182321888931 +315466148751502 +63498865801504 +280462234445162 +199036892567521 +118067781823434 +507416426711689 +521406499333212 +164860699674202 +498318716626671 +56530602596933 +56208602683053 +71346447806970 +270540470889410 +379700054749895 +289107085805932 +310197064267887 +346899051870557 +256474033408112 +476072701417326 +295463907501456 +457750282987483 +386036081346361 +486258865422259 +402980349997914 +133115907226633 +379955028557632 +283913522166564 +275579813389112 +118026662327739 +447839183828547 +20818610706887 +278234081943860 +254247649928342 +326551532094248 +511124125832471 +279795025749283 +256509247822207 +206589266546640 +433908945737314 +357166220731175 +167173309034517 +467965044601293 +81978983523954 +511367314365443 +396924269069073 +359116243679646 +59447733548710 +25907039742064 +260780980068965 +447086938226509 +425671760185615 +498066409878423 +46091896582590 +215508384052864 +296537524191791 +98945171359126 +490552863087972 +145720828046209 +388302917454264 +238413094460410 +486365186286610 +98056366155701 +184628257387945 +421265933814253 +409159079107488 +386746847851064 +75634378874632 +357533823006902 +477435018325792 +400560646525429 +476318369266183 +273909472970092 +327429623928819 +374876105160054 +6880600984402 +306441969404740 +233972010793163 +515097027897515 +316197897984421 +270804509036257 +266907645441465 +15994856442802 +111192194825672 +155480607466815 +144569837833851 +124475274432294 +28237393070220 +202432680478366 +212171785635012 +400939411154471 +188296745712874 +388881278376549 +209439650039522 +55929178885681 +298467498811484 +306121685760157 +408225109269182 +168795392002747 +529554022815465 +145634898171834 +38126797464219 +430883363795407 +338926457408987 +41260105839551 +533316480744761 +482636389829643 +207447897416707 +196138347507100 +46438337366862 +508693990914810 +165766355602826 +356371973979240 +400122600976968 +390535528720569 +300852832849597 +177755100677797 +176484605733687 +10698968369216 +7240682118723 +356656284994647 +528422697235913 +238427970353927 +53647111321402 +28918244579773 +314714185295347 +548978596779455 +164036040088745 +543171110536548 +386167881986825 +463745919347251 +105605824807419 +429186180898265 +283203928739445 +116882896610872 +457014523213046 +208888882543078 +236375669692416 +206912430074803 +478589096279980 +8464795386931 +27285549842403 +302458507927232 +345804194520608 +540818080031518 +124823168680626 +115872974026074 +451546133865541 +516204631590556 +136175471402405 +297888621059680 +321689353028977 +207422209275449 +329490958265061 +308588497554312 +478067404381800 +492396511802723 +2595082197275 +407551373528531 +215357810542713 +80512442217284 +358121715251356 +273314826493032 +215623017385058 +435847603721528 +537578816710241 +410603958094399 +366430629349001 +46045580098437 +344990690828053 +52780426376163 +177893937424372 +273579162013372 +506929066188057 +284551585319034 +503266461114677 +34690361611505 +326971274027827 +338203334147104 +276415456657902 +486045843189108 +494991067942707 +88946461091187 +436086659000813 +192838029194693 +380675079846175 +85596647716655 +169680697259531 +53046119022195 +116960401682679 +238955896188706 +475020308097194 +258537302044146 +27726294550378 +191544742337948 +288124770743119 +465909359049986 +167107137212593 +265335594936123 +535722460654731 +446121773585916 +14181361146435 +368423604371849 +198576893101654 +34961291614544 +423741691046450 +287686836339404 +329387551774328 +244978228770354 +505973983423497 +86433274666322 +263715639189000 +63980068088855 +223964344014627 +26994622958864 +486786788513696 +469888745253127 +489841153101635 +110705003256452 +106158577467476 +390193498404412 +378011218971986 +356272970983236 +34809786928958 +437048881418421 +226182647836946 +300638706022391 +465797642138475 +467477495135805 +559439125580571 +560950333938888 +456851789070108 +537124354358383 +143319072681303 +185918264064448 +490486364451426 +316609914110408 +309265535025341 +2638953105341 +177094745551355 +282270535710843 +63077637048318 +24374926196621 +5198108220440 +198293076984572 +522323418572550 +348432143861613 +186797721122964 +518078324613089 +86029272251118 +509971719319201 +325374741277729 +59657163173726 +296799772350954 +122902835477384 +144343111423034 +415027285516781 +461479730718551 +194526319402150 +45422965772942 +405781479242670 +357304362753119 +479827911865386 +236929640475709 +349808889830641 +359644842968769 +223999816998723 +105471587775436 +450198603570119 +336690129072499 +246665338111838 +28164568946656 +356937376808438 +485355473119810 +355665027905475 +157974504204317 +275614814687015 +203938816099532 +305137558858268 +167173117715273 +15677108683264 +148326579895942 +418998978878122 +16792696921767 +350904680025108 +274038702489803 +269921460609316 +66602985508570 +214799331453933 +266242720401511 +476097133922144 +67203551094270 +237755273583439 +544181851502148 +210632110160458 +510568121523987 +377245759252317 +160952743708113 +355902175718997 +64324210852869 +481073499059727 +202925642897375 +35839776965855 +151709707711329 +159379604148570 +153527692724914 +92582241956408 +145159807089891 +477061426748084 +376081832421040 +325502368774160 +325612569370404 +184920170767330 +398093941781482 +309136671080402 +124506001478838 +508040830269448 +287860546020739 +506489564783041 +415665267521352 +15922766385361 +46631752116972 +209713213400779 +226443513129924 +242915224421242 +205494418413561 +459750770164236 +559438459351461 +104784207811795 +28898428032156 +490364152339576 +164419154307184 +475374712705432 +124415662798780 +32380290546016 +153403984795521 +154321640163393 +535250118860540 +255903779037677 +162794484752130 +196833560798591 +93145392066889 +379095712779698 +124969666991460 +451182504981256 +300936006640834 +177803275973814 +544603367791491 +475434201289579 +546791493076158 +177463768538490 +542891648248309 +390266055847310 +159814779579371 +536262493502071 +49718794484537 +322647511055615 +277228677445898 +18021150576920 +264267685061950 +437879698931032 +516231460745030 +156681378029833 +2712962305481 +509797340001598 +465957676392086 +258168625995368 +545723374688369 +142573698270437 +172484026119544 +112411396808503 +186690238324752 +178822520292442 +283607524233235 +276639402743692 +482723937216976 +23530771353172 +190470859240110 +299734105950812 +35191448551665 +304236882690599 +123601815351141 +143881334395952 +314612645834173 +503625640065721 +7936726712881 +226205339156570 +272221292305016 +145671819066076 +559479931156547 +493430155749620 +327117692006655 +95561062431807 +291480905361276 +275678133518404 +222350026794723 +260440073623667 +64315884600281 +497257478261139 +41077091857641 +329324348127592 +338785520981623 +45548902209363 +520394606433781 +475410593258671 +153221267650981 +466704767330197 +536044176638689 +148028557406921 +516271290915337 +339324176624452 +284938312380639 +155725458642652 +439817149428808 +354343711209877 +155309236693054 +498294253161570 +97154199367545 +128103551366271 +322924008768869 +338253735146763 +347162644772587 +335913822126040 +103527976073176 +401955642830129 +498867047512714 +538524267199783 +361025061011647 +259694117830432 +22848163147672 +376281127039433 +269528602746046 +157351964047768 +384597253815459 +207620239156293 +439306634761256 +197766475120940 +153548497898040 +458596902072462 +238187584968533 +493038298093596 +256718848844766 +56878818436033 +548834943642773 +450339823816210 +95923644689907 +327218812769860 +94287315623955 +206062440080537 +276052434831721 +265990008418590 +203778795578581 +285790956034830 +99463167695821 +102738384279476 +105708883200830 +278547835319544 +245467660559464 +111004597316275 +540157504056842 +448797616501895 +74614305181806 +128313589012657 +290540242537556 +193794467901745 +82564579393620 +208636409662859 +533528715938888 +321108446077381 +26981108203378 +97721138064931 +71272689502486 +531038833929882 +313895884770716 +12599042677815 +548661140965086 +377571915722828 +355951852693626 +134489858327268 +536511460621595 +187974917727881 +356776464496939 +17158248079552 +226697220242995 +562598520220590 +199927573632806 +6689427419008 +512820413715909 +550049271716803 +384471951653685 +293629871240374 +358912738023387 +212757988176172 +74068107279274 +457341889121532 +255983636736719 +419257250255601 +17555799377516 +436262355005923 +534602730515236 +258610822457333 +358312355264636 +553595130629612 +95205070189026 +356277620528182 +450976331133612 +458231450450439 +199284835203589 +210808669575752 +470681008481269 +449328378446681 +31998046860300 +163909413324677 +484985197319903 +525605607828497 +199719009535522 +194941034493139 +507054648259632 +396070271737884 +301869601050859 +249593358902322 +15506967297606 +94948405651735 +460519529391835 +194534830559960 +251672969298029 +259195204429231 +412668654557520 +155005034918984 +113224836381069 +74649024381154 +66531351469831 +45944735162166 +515511909368238 +340685328052336 +460524733420560 +336566280017736 +351065793979266 +510198757498451 +236891049586191 +229256691707488 +368482114665362 +470051493281584 +267816337374993 +387510397662935 +257972693418795 +396216864694498 +70850874551827 +357477854677798 +463329608748302 +476494934837259 +234212642380956 +17539522987741 +95480057986981 +251709424331931 +89500439560023 +460535766656479 +86933498133164 +105240060166464 +389070991673431 +333933942649197 +368718328312984 +388379688921912 +417503370718154 +235374854605563 +266361308902505 +352915445651242 +246984045680900 +155947861523112 +401730262340842 +470142000541245 +115619705489024 +433101151539678 +196519962918921 +157926146141206 +469217093879703 +490529008307451 +471641816337227 +510418575723422 +316914054779155 +23679290420394 +252842549628551 +287781795930138 +93520320530327 +60557187152787 +171833310772558 +366158648862306 +117737586171981 +331591852325733 +202517218126363 +496557544655440 +138862011579280 +446290081598020 +450107341156312 +546323032414681 +330712827467186 +235956181508506 +512631775768395 +345719566823708 +207345200623758 +485345267789878 +208592872388994 +514039760711140 +195118922626923 +468698324033452 +310784237447694 +410463586216254 +25377687927250 +444832274889098 +328900147256178 +165691041992718 +426214013564151 +356848923061148 +355276674741656 +98892036894012 +72212641467124 +297175766997154 +122455244760087 +539353373847239 +440665289775513 +243783098039764 +350082717750088 +214618342576437 +444514795205011 +444317998067358 +57126066243303 +193455823370207 +167510972408314 +545969915406719 +296288245476450 +509107923331280 +516597857273511 +221143738110499 +160150200302252 +529149123525164 +498605302512485 +86043212834543 +301077816159268 +231498925679905 +508467135895709 +346071150347374 +485048052809036 +508890836552688 +275312371428252 +156113028888865 +410141908684205 +297621512173604 +283317378537498 +185830234745006 +222775880171170 +46091297402718 +177837191338447 +505978885456079 +274168007101417 +118356164928212 +347773638202768 +178022370789308 +350320612735049 +132192616451925 +348974211446262 +247750858072739 +76329606959699 +491390960569285 +54016961970433 +257649869604696 +273989352066053 +154925773361260 +227969266598445 +497338500071094 +298755407411923 +241453841417819 +143835555404815 +480978458216715 +329902146512304 +339364574351620 +353072581814119 +400458102002711 +498890000815668 +160577843483753 +484518447381607 +132004565245874 +389693344615716 +265167345718406 +231799753221799 +80430205965641 +187485057593562 +267062587117335 +274136418535276 +304806943635340 +219424514182782 +282812757276767 +154603344500199 +156930029401503 +193401770133462 +9194624527329 +275944628311477 +6502454844310 +139523978658250 +515961179575053 +164481452178499 +332946090673300 +304501588924044 +317010437093379 +337284283396355 +326787474440929 +181015335267469 +169420440640452 +195169604728701 +406600858771349 +402015133677668 +390169987533973 +526341638745283 +531560150702736 +142508882959480 +175048436107996 +97145489191503 +201100062746079 +295363183272413 +507035016617479 +560591123433165 +92109876184792 +347816326047284 +317991102522569 +46666882563011 +551684837135477 +25908610369743 +279135420058200 +424739332496588 +13969185133484 +302682369947181 +232229194739127 +304645945222208 +457855323491564 +243562950215061 +271003796451410 +30858333060392 +465101914126249 +77672241849693 +9066455024749 +528602057429180 +50948033253276 +468811752143531 +517133315992975 +372784467283733 +390028027484579 +438453359665490 +526806749743670 +323447680721066 +450958912905006 +341733487524663 +205688298720917 +525758186553618 +384863595674415 +178388233089243 +287645158691881 +462116224139978 +283260856630985 +118423785156176 +449170663303596 +203485131435083 +83106131600432 +309822898744328 +328157754645133 +221292822298474 +493248230322342 +498317132862433 +40517939261331 +6129573165058 +81782276369828 +274827076025437 +196904226328897 +287857755695147 +124175366471012 +38133331234810 +335044492632412 +514421450323151 +460915963451062 +409050573805609 +471908476036664 +300732589806099 +561288369226384 +400308724768805 +427694718847813 +336825031847838 +466892075977588 +446051332502013 +443475747411275 +429998348106713 +311376032188413 +303269808630948 +296047821702910 +17792723032326 +488848022578618 +491660725065215 +221906787514387 +23747105975131 +99390096308242 +530488360454375 +86256765792104 +326414525519985 +493935617533618 +238762182054883 +526597614026709 +310626515657515 +92953188412073 +196082290584389 +46777480825048 +258939430867808 +347544615238284 +237745727322803 +21948745554100 +140389056052892 +450163126994264 +449195885873352 +7661860912459 +229749412936092 +415496141367524 +87739341577550 +177326422510053 +466502319075552 +480415281790461 +53420913515899 +436675270089043 +435533302837765 +101033668770074 +215875088237687 +501711659782762 +511392466314805 +226949883264959 +527827128360558 +234845536018542 +459457899473050 +445400801991078 +54729333525641 +198511155941539 +256453568087848 +76872557196377 +12574553955003 +558676223517820 +443105522063071 +123297927515350 +6109785248330 +216444256955225 +361277386263235 +550321162783974 +422315380748883 +75315597954368 +276074020929713 +498030043875553 +489302297647192 +551866917351757 diff --git a/2025/day-05/part-one.py b/2025/day-05/part-one.py new file mode 100644 index 0000000..456b909 --- /dev/null +++ b/2025/day-05/part-one.py @@ -0,0 +1,58 @@ +import logging +import sys + +# Logger setup +logger = logging.getLogger(__name__) +logger.setLevel(logging.INFO) +stream_handler = logging.StreamHandler() +logger.addHandler(stream_handler) + +def main(): + output = 0 + ranges = [] + ingredients = [] + fresh = [] + with open("input.txt", "r") as input: + # Step = 0 for ranges + # Step = 1 for ingredients + step = 0 + for line in input: + line = line.strip() + if line == "": + step = 1 + continue + + if step == 0: + ranges.append(line.split("-")) + else: + ingredients.append(int(line)) + + # print(ranges) + # print(ingredients) + + # for range_ids in ranges: + # for i in range(int(range_ids[0]), int(range_ids[1]) + 1): + # fresh.append(i) + # + # print(fresh) + # + # for i in ingredients: + # if i in fresh: + # output += 1 + + valid = [] + + for i in ingredients: + for r in ranges: + if i in valid: + continue + if i in range(int(r[0]), int(r[1]) + 1): + print(i) + output += 1 + valid.append(i) + continue + + logger.info("Output: " + str(output)) + +if __name__ == "__main__": + main() diff --git a/2025/day-05/pyproject.toml b/2025/day-05/pyproject.toml new file mode 100644 index 0000000..7d0689a --- /dev/null +++ b/2025/day-05/pyproject.toml @@ -0,0 +1,9 @@ +[project] +name = "day-04" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +requires-python = ">=3.10" +dependencies = [ + "logging>=0.4.9.6", +] diff --git a/2025/day-05/uv.lock b/2025/day-05/uv.lock new file mode 100644 index 0000000..64f9437 --- /dev/null +++ b/2025/day-05/uv.lock @@ -0,0 +1,20 @@ +version = 1 +revision = 2 +requires-python = ">=3.10" + +[[package]] +name = "day-04" +version = "0.1.0" +source = { virtual = "." } +dependencies = [ + { name = "logging" }, +] + +[package.metadata] +requires-dist = [{ name = "logging", specifier = ">=0.4.9.6" }] + +[[package]] +name = "logging" +version = "0.4.9.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/93/4b/979db9e44be09f71e85c9c8cfc42f258adfb7d93ce01deed2788b2948919/logging-0.4.9.6.tar.gz", hash = "sha256:26f6b50773f085042d301085bd1bf5d9f3735704db9f37c1ce6d8b85c38f2417", size = 96029, upload-time = "2013-06-04T23:43:22.086Z" }