minus-squareRollingRagdoll@lemmy.worldtoAdvent Of Code@programming.dev•🍷 - 2024 DAY 3 SOLUTIONS -🍷linkfedilinkarrow-up3·edit-23 months agoUiua Part 1: &fras "day3/input.txt" /+≡/×≡⋕≡↘1regex "mul\\((\\d+),(\\d+)\\)" Part 2: Filter ← ⍜⊜∘≡⋅""⊸⦷°□ .&fras "day3/input.txt" ∧Filter♭regex"don't\\(\\)?(.*?)(?:do\\(\\)|$)" /+≡/×≡⋕≡↘1regex "mul\\((\\d+),(\\d+)\\)" linkfedilink
minus-squareRollingRagdoll@lemmy.worldtoGames@sh.itjust.works•You're stuck on a desert island for five years. You can have three video games. What three games do you take?linkfedilinkEnglisharrow-up6·7 months agoI would take: Dwarf Fortress Rimworld Minecraft linkfedilink
minus-squareRollingRagdoll@lemmy.worldtoNo Stupid Questions@lemmy.world•Is there a food that is cheap, delicious and healthy at the same time?linkfedilinkEnglisharrow-up0arrow-down1·2 years agoWhat do you do with the tofu? I have tried a few time but it always taste kind of “bland” linkfedilink
Uiua
Part 1:
&fras "day3/input.txt" /+≡/×≡⋕≡↘1regex "mul\\((\\d+),(\\d+)\\)"
Part 2:
Filter ← ⍜⊜∘≡⋅""⊸⦷°□ .&fras "day3/input.txt" ∧Filter♭regex"don't\\(\\)?(.*?)(?:do\\(\\)|$)" /+≡/×≡⋕≡↘1regex "mul\\((\\d+),(\\d+)\\)"