Summary for those just joining us:
Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!
Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app
What did you think about today's problem?
Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)
Jump in the discussion.
No email address required.
Ended up using sympy for Part 2 because frick everything about that. This year has been quite rough for non-mathcels.
Jump in the discussion.
No email address required.
Post your code!
Jump in the discussion.
No email address required.
Not today, it's a shit show
Jump in the discussion.
No email address required.
More options
Context
Fine, frick it. Slightly cleaned up Python:
Part 1 can probably be done much more effectively, but I'd never used sympy before. Part 2 required actually figuring out some equation shiz
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
Fuck it, who needs sleep when you've got caffeine
Jump in the discussion.
No email address required.
found the incel
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Umm sweatie it's day 24
Jump in the discussion.
No email address required.
lmao ok
Jump in the discussion.
No email address required.
Frick today's question btw, this has been the worst AoC ever
Jump in the discussion.
No email address required.
I loved it. Both part 1 and especially part 2. Skill issue bro.
Jump in the discussion.
No email address required.
I've done it but there just hasn't been any fun this year aside from maybe the camel poker day
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
Finally I got to use z3, bitches! Global rank 50 on part 2!
Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
Did you actually need 12 lines?![:marseypathetic: :marseypathetic:](https://i.rdrama.net/e/marseypathetic.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
MASHALLAH
Jump in the discussion.
No email address required.
More options
Context
It's impressive that you managed to figure out the equations for pt 2, write them and solve them in 12 mins. It's not exactly quick to run and pt 2 wasn't obvious while you were doing pt 1.
Jump in the discussion.
No email address required.
It is actually. About a second, idk.
Jump in the discussion.
No email address required.
It's quick if you use BitVec, that implementation with Int is pretty slow.
Jump in the discussion.
No email address required.
How do I use BitVec for it?
Jump in the discussion.
No email address required.
Weird it just keeps running on pt2 real for me. Just use
BitVec(x, 64)
anywhere you useInt(x)
Jump in the discussion.
No email address required.
Interesting, maybe I got lucky with the input! Ty for the tip.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
Very fetch problem. Funny how you only need 3 lines for part 2
Jump in the discussion.
No email address required.
More options
Context
Man frick today (I didn't use a solver to figure it out because I was determined to do everything in pure C++ this year)
For part 2 I solved it for the z plane at first which gives only one solution, then I can just run it again on the y plane for the missing z value.
Jump in the discussion.
No email address required.
More options
Context
Jump in the discussion.
No email address required.
More options
Context
Snapshots:
https://carbon.vercel.app:
ghostarchive.org
archive.org
archive.ph (click to archive)
https://adventofcode.com/2023:
ghostarchive.org
archive.org
archive.ph (click to archive)
Jump in the discussion.
No email address required.
More options
Context