Destroying everyone else in Advent of Code 2021 Day 22

preview_player
Показать описание

0:00 Solving part 1
4:50 Solving part 2
10:58 Finishing
13:07 Explanation of part 1
14:40 Explanation of part 2
Рекомендации по теме
Комментарии
Автор

As a beginner seeing this I feel like a 5 year old kid watching someone solve calculus having no idea what is going on but the clicking sound is pleasing. Lol!!!

sanjaykhanka
Автор

I watch these videos for no reason other than to humble myself and excite myself for what I can continue to learn.

tbcfrankee
Автор

Watching this as someone who knows only the basics of scripting feels like pain

aty
Автор

It's cool as the months go on I use to watch some of your vids and I didn't know a single thing now I pick up on obvious variables and loops and how stuff is happening I still overall have no idea what's happening but over the past 4 months of teaching myself coding it's cool to see me understand these videos better with time, hopefully soon enough I will be able to understand it all but amazing work and congrats on first!

sylentifytv
Автор

Amazing. Man, it is impressive how you can keep track of index pointer and know by heart it won't go beyond the size of the array

fishraider
Автор

Thank you for the frequent video uploads! It is really interesting to see your thought process.

gunthergunthold
Автор

Congrats on solving it and getting first place!
I like that you have a library of code available to speed things up (although your typing is speed is crazy fast already!).

thibpat
Автор

Coordinate compression ... lol ... what an idea! Much easier than calculating the cuboid intersections and keeping track of which ones to add and which to subtract (i mean the coordinate compression does this kinda automatically)

fcrypto
Автор

*My level of coding :*
int isMajor = true;
*His level of coding:*
vector<vector<vector<bool>>> grid(N, vector<vector<bool>>(N, vector<bool>(N, false)));

krog
Автор

you're also destroying my hope of dreaming to be a programmer

AAlfuhaide
Автор

This is what world class programming looks like

forthehomies
Автор

as someone who has hacked SEVERAL computers on Fallout i can confirm that this is 100 percent accurate

ThatFrigginguy
Автор

6:29 jesus...this is some pure editing skills !

peacekeeper
Автор

Hey, I have a couple of questions, if you don't mind.

First: why the use of min/max in part 1?, I thought the text said to ignore anything outside of the +-50 region.
Second, would your part 2 solution still work if some cubes have adjacent sides?

I got fed up debugging my crappy cuboid-splicing implementation, and I found your video, and I subscribed milliseconds after. I'm too old and tired to even try the competitive stuff, so I guess I'll experience it second-hand.

japedr
Автор

He doesn’t need autocomplete. The autocomplete needs him.

TheOriginalJohnDoe
Автор

I was speechless when saw this. Wish you all the best!

LamNguyen-jpvh
Автор

I love watching you code in real time. So amazing. The typing is unhuman!

crazieeez
Автор

2:08 Could some one explain the definition of "A" in line 45. I understand "A" is a pointer to the middle location of array "_A"(ie. location _A + 50 * 50 * 50). But what is the type it is cast to . ie. why is it cast to "(bool (*) [2 * N + 1][2 * N +1])"?

johnhammer
Автор

I wouldn't even comprehend the whole thing in 11 minutes lol

tomeknaj
Автор

Even though I've been using C for over a year, and I have a decent level understanding of C++, my mind still can't keep up. I believe that is partially due to your intentional (and required for anyone to be competitive) use of pre-existing code for each problem, but mostly it's due to how insanely fast you type :D

nickheyer