Unable to load image

r/drama Advent of Code S02E01 - Official DISCUSSION Thread

Ok you Python-using heathens. What did you think for difficulty this time around?

Post your coding atrocities below.

For those of you who missed the early signups. Feel free to join the leaderboard late (though rankings are based on time).

42
Jump in the discussion.

No email address required.

was nice that he threw in the "word numbers can actually be portmanteaus" bit cause it made it not braindead, but i feel like there will be a lot more of this trickery

oh wait i didnt even use islice after all

https://i.rdrama.net/images/17014120779218445.webp

Jump in the discussion.

No email address required.

Wait that rule was there? I didn't do it either lmao

Jump in the discussion.

No email address required.

my example data for p2 was

two1nine
eightwothree
abcone2threexyz
xtwone3four
4nineeightseven2
zoneight234
7pqrstsixteen

i didnt want to think about trying to handle shit like eleven, twelve, and thirteen because they are gay edge cases but it never came up so ime assuming the -teen suffixes were dropped in to bait people

Jump in the discussion.

No email address required.

Oh I thought you said palindrome whoops

Yeah the text explicitly said only up to 9 was considered. It's an English test

Jump in the discussion.

No email address required.

wait did it? :#marseyhungover:

Jump in the discussion.

No email address required.

>It looks like some of the digits are actually spelled out with letters: one, two, three, four, five, six, seven, eight, and nine also count as valid "digits".

Yeah it gave a very clear list

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.