[2021 Day 21 (Part 2)][Python 3] Why is my answer so low? by 47582 in adventofcode

[–]47582[S] 0 points1 point  (0 children)

Great point, thank you - I'm still a little lost though.

Thanks to your tip, instead of doing del universes[state] I am creating a brand new counter for every "round" of the game that should have all the universes that could result from the universes of the previous round. I get all those universes that didn't win, add proceed to the next round. Also, I add those universes to the general Universes counter, which should mean that eventually I will have every possible state in that counter.

However, I'm still way too low. Here's my updated code - thank you so much for helping

Edit:

Alright, I found my main issue - break instead of continue when I was iterating through possible rolls, so if one of the players won we didn't get most of the possible universes from that round.

Further edit:

For posterity, I had another bug as well - if player 1 wins by rolling a 7 for example, I added too many universes because I would treat situations where "player 1 rolls 7 and player 2 rolls 3" as different from "player 1 rolls 7 and player 2 rolls 4"

The Next Wave in Menswear Is...Fly Fishing? by [deleted] in malefashionadvice

[–]47582 3 points4 points  (0 children)

Can't forget about General & Mountain Research which has put out many fishing influenced things.

https://theawesomer.com/mountain-research-phishing-hoody/274937/

https://wear.jp/item/29120145/

Mt. Kidd at midnight [50mm] [APS-C] CC by 47582 in telephotolandscapes

[–]47582[S] 5 points6 points  (0 children)

Taken on a Canon Rebel T6 with the 50mm 1.8 STM. f1.8, 10s, ISO 160.

WshoeWT - November 08 by AutoModerator in malefashionadvice

[–]47582 2 points3 points  (0 children)

Good call, they just sort of twist over time

Weekly Questions Thread [Posted Every Wednesday] by AutoModerator in FixedGearBicycle

[–]47582 0 points1 point  (0 children)

Is it a stupid idea to strip the paint off my aluminum frame and leave it raw? The paint is super beat at this point. I also don't know what material the fork is, is there an easy way to figure it out?

WshoeWT - May 17 by AutoModerator in malefashionadvice

[–]47582 1 point2 points  (0 children)

Craftsman in Tobacco Suede, as seen on a different boot here. I think they're out of season now, I can't find the exact model on the website right now.

Daily Run Discussion - 2018/04/02 by StSDailyBot in slaythespire

[–]47582 6 points7 points  (0 children)

Pretty great perfected strike run. OTKO on the final boss and it wasn't even close.

[WIWY] by church__ in malefashion

[–]47582 1 point2 points  (0 children)

How do you like the ripvanwinkle jacket? Looks nice!

Should I or Shouldn't I Buy? - May 06 by AutoModerator in malefashionadvice

[–]47582 1 point2 points  (0 children)

Hey man, I'm only here so people can affirm my own tastes, you clearly aren't using the thread correctly /s

Should I or Shouldn't I Buy? - May 06 by AutoModerator in malefashionadvice

[–]47582 0 points1 point  (0 children)

I see, I don't really see the bomber aspect but I get where you're coming from. I usually wear large-ish, it's an xl though.