Advent of Code 2023 - Day 1

preview_player
Показать описание
Day 1 and we are already on the struggle bus.... Advent of Code 2023 is off to a great start!

===== Chapters =====
0:00 Intro
1:30 Reading Part 1
2:22 Part 1
10:54 Reading Part 2
11:00 Part 2
24:28 Solution Explanations

===== Music =====
Audionautix - Carol Of The Bells
Audionautix - Joy To The World
DJ Williams - Jingle Bells
E's Jammy Jams - Deck the Halls (Instrumental Jazz)
Jingle Punks - Deck the Halls (Instrumental)
Lake George - William Rosati
Рекомендации по теме
Комментарии
Автор

i'm doing AoC in c++ this year. the thing with c++ is that you can't get "fancy" with regexes and other things as easily (cause you'll end up in another deep rabbit hole), so my implementations are as straight forward as they can get.
that also meant that i couldn't simply just replace (i think there's a std method for replace for a std::string but i couldn't be bothered to look it up lmao) so i didn't get into the problem with the overlapping numbers

fxiqval
Автор

I am so disappointed that I had to come looking for an answer on Day 1 - but grateful that you posted this video. But I'm struggling to understand what the while loop is doing?

sonnerz
Автор

it was hard to figure out that last part

dravidkumar