<< Back to Programming Forum   Search

Posts 1 - 20 of 41   1  2  3  Next >>   
Advent of Code: 2023-11-20 19:51:36


Just_A_Dutchman_ 
Level 60
Report
December is coming, and so is Advent of Code!

Yet another year of trying to keep up with the challenges for me, but I do like it. If you're also a Advent of Code enjoyer or want to give it a try, you can enter this leaderbord with the following code: 2283074-341a7152. It will be a leaderbord of all Warzone players.

Don't know anything about this? Check out this link xD https://adventofcode.com/2023/about

See you there!
Advent of Code: 2023-11-22 22:21:56


JK_3 
Level 63
Report
Cool!
Advent of Code: 2023-12-02 14:45:37

(deleted) 
Level 63
Report
Bump, it's started.
Advent of Code: 2023-12-02 14:51:36

3.141592653589793238462643383279502884197169399375
Level 60
Report
whys this not in offtopic lol, looks like an ad to me?
Advent of Code: 2023-12-02 19:22:57


JK_3 
Level 63
Report
it not in offtopic cause its on topic:
• we have a private leader board for WZ players
• you need programming to solve the puzzles

so it does fit in the WZ Programming forum ;)
Advent of Code: 2023-12-03 18:43:15

JustinR17 
Level 60
Report
Are you guys finding this year's advent of code tougher and a lot more work or is it just me? 😅

I swear I remember the first few days being super easy and short.
Advent of Code: 2023-12-03 18:45:41


JK_3 
Level 63
Report
day 1 part 1 was easy, part 2 should be easy but i got a bug somewhere

havent tried the other days yet
Advent of Code: 2023-12-03 18:50:10


Just_A_Dutchman_ 
Level 60
Report
dont really remember last year's problems tbh, but the solutions for this year's problems are more difficult afaik yeah
Advent of Code: 2023-12-03 18:52:34


Just_A_Dutchman_ 
Level 60
Report
Oh yeah i agree, just looked at day 3 and man... How am I gonna do that in C? xD
Advent of Code: 2023-12-03 19:01:19

JustinR17 
Level 60
Report
You are doing this in C??? Why do you hate yourself?

I wanted to do it in Rust this year to relearn it, but I just went back to python. Too many useful and convenient functions :)

If there are things you are stuck on, feel free to mention here and maybe we can help out. I'm doing this with my company as well and we always share solutions after that we come up with to compare. My code is definitely too ugly to share right now though haha. Indexing is so annoying.
Advent of Code: 2023-12-03 19:28:48


FiveSmith 
Level 60
Report
This season, the difficulty spike was too early.

I really hate the coding tasks, where the main issue of the task, is to code some cumbersome parsing of the input to a suitable data structure.
Advent of Code: 2023-12-03 22:04:15

(deleted) 
Level 63
Report
The spike definitely is going up very early on.
Advent of Code: 2023-12-04 00:17:20


Just_A_Dutchman_ 
Level 60
Report
C is the language we are using for uni stuff all the time, dont have much experience with any other language as i have with C

But yeah, it is a pain sometimes but I do like some aspects of it
Advent of Code: 2023-12-04 00:33:05

(deleted) 
Level 63
Report
Looks like some parts of days are solvable using ChatGPT https://kyleholgate.com/advent-of-code-with-ai-day-1/.

I’m interested how much it’ll be able to solve.
Advent of Code: 2023-12-04 00:59:18

JustinR17 
Level 60
Report
From what I remember, AI was able to solve quite a few problems last year. Looks like they added a rule that you shouldn't be using it until the global leaderboard is decided for the day.

@JK the one tip I can think of is considering cases like "twone" if you are doing string replacement instead of just finding the index for each number word. You need to make sure you get both of the numbers instead of just "two".
Advent of Code: 2023-12-04 11:02:59

(deleted) 
Level 63
Report
My part 2 for day 4 doesn't match the example and i have no idea why https://github.com/DanWaLes/aoc/tree/main/2023/4.

I wasn't counting originals. Got it eventually.

Edited 12/4/2023 11:28:59
Advent of Code: 2023-12-04 23:37:00


l4v.r0v 
Level 59
Report
It's definitely been tougher relative to past AOCs early season.
Advent of Code: 2023-12-05 01:43:03

(deleted) 
Level 63
Report
Found this. Says to not share your inputs even in Git repos. Doesn’t mention it on the website.

https://www.reddit.com/r/adventofcode/comments/18an94z/psa_dont_share_your_inputs_even_in_your_github/
Advent of Code: 2023-12-05 15:11:09

(deleted) 
Level 63
Report
How long did day 5 part 2 take to execute for you?
I did 15,845,578,766 seeds one by one and took about 40 mins on AMD A8-7410 APU with AMD Radeon R5 Graphics 2.20 GHz and 8.00 GB (6.94 GB usable) RAM.
Advent of Code: 2023-12-05 16:06:56


FiveSmith 
Level 60
Report
My python solution runs within 1 second on my notebook. It might have taken more than 40 minutes to code though.

One can notice, that all the maps have linear dependencies, and that it is possible to collapse all the maps to a single map.
So I made an algorithm, that splits the initial range of seed into subranges, with each seed within has the same seed-to-location offset.
After that, for each resulting subrange, you only check the starting seed of that subrange + the offset, and select the minimum among them.

I really like the tasks of day 4 and 5, because they are easy to implement the first part, but require some tricky optimizations to solve them in full. That's how the AoC tasks should be.

Edited 12/5/2023 16:58:18
Posts 1 - 20 of 41   1  2  3  Next >>