I won't paste my code yet since my parser just does the needful, and I somehow manage to get overlapping grains of sand, though that doesn't matter in the end.
I'm also seeing a lot of pythonistas having high runtime (1-10s+ and more) and I'm here with the bruteforce grain-by-grain taking 150ms for part 2 (including drawing the final graph lmao). Matlab chads can't stop winning
EDIT : part 2 webm
Jump in the discussion.
No email address required.
My code literally takes only 0.001ms
Jump in the discussion.
No email address required.
That's roughly 60,000,000 times slower than me exploding in your face![:marseyface: :marseyface:](/e/marseyface.webp)
Jump in the discussion.
No email address required.
More options
Context
Let's see your program then
Jump in the discussion.
No email address required.
You wanna steal it huh
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Jump in the discussion.
No email address required.
You should just give up
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context