zongor [comrade/them, he/him]@hexbear.net to programming@hexbear.netEnglish · 6 months agoAdvent of Code 2024 Day 4adventofcode.comexternal-linkmessage-square4fedilinkarrow-up111arrow-down10file-text
arrow-up111arrow-down1external-linkAdvent of Code 2024 Day 4adventofcode.comzongor [comrade/them, he/him]@hexbear.net to programming@hexbear.netEnglish · 6 months agomessage-square4fedilinkfile-text
Did you find XMAS? @Enjoyer_of_Games@hexbear.net @Speaker@hexbear.net @gay_king_prince_charles@hexbear.net @iByteABit@hexbear.net
minus-squaregay_king_prince_charles [she/her, he/him]@hexbear.netlinkfedilinkEnglisharrow-up2·6 months agoI’ve wasted way to much time on this. I tried to manually check each column and diagonal. I’m refactoring to split the vertical into a string but I’m not quite sure how to do the diagonals.
I’ve wasted way to much time on this. I tried to manually check each column and diagonal. I’m refactoring to split the vertical into a string but I’m not quite sure how to do the diagonals.