[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


>Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.
https://adventofcode.com/

/g/ leaderboard join code:
224303-2c132471
anonymous-only leaderboard:
383378-dd1e2041

no cutting down the trees

previous >>110492229
>>
File: solve.png (218 KB, 1934x1262)
218 KB PNG
idiomatic Rust solution
>>
it is hard to come up with good op images ok
>>
File: three.png (49 KB, 907x532)
49 KB PNG
idiotmatic python solution
>>
>>110501980
Visualizations are always an option, there were a couple in the last thread.
>>
bigboy #3
url: https://files.catbox.moe/txpi26.txt
grid: 3333x3333
silver: 839913
gold: 700901761
>>
>>110501964
How is this idiomatic?
>>110501428
>>
Which year would you say was the best year?
>>
smolboy for slowanons
https://files.catbox.moe/6uq5vr.txt
silver 17132
gold 4471945
>>
>>110502058
2021-2022 for me since those were my first but I hear good things about intcode
need to get around to it at some point
>>
>>110502056
I have over 10 years of Rust experience.
Furthermore, I have all stars in advent of code, all ducks in everybody.codes and solved 317 project euler problems.
Lower your voice when speaking to me.
>>
>>110502058
>>110502069

2019 (intcode) was good but it was definitely far from difficult, every problem description was just a step by step guide on what to do, there was not much thinking involved at all, which is probably why /g/ likes it so much. I liked the year with lantern fish and that infinite tape, whichever year that was.
>>
>>110502058
2017 hands down
>>
>>110502106
>lantern fish
2021#6
>>
File: duly noted.gif (1.83 MB, 480x360)
1.83 MB GIF
>>110502105
woah watch out, we have a badass over here
>>
>>110502105
Good girl!
I was just asking, perhaps you can comment on yours compared to the other anon's solution? My rust is not very good, and I find yours less readable.
>>
>>110502106
The challenge was having a working interpreter.
>>
>>110502054
>>110502063
>>
2021 was a ball puncher in general. Pretty even difficulty throughout.
>>
>>110502105
Wow based
>>
>>110502105
I'm sorry but Gemini is better than you and it's not even close
I lower my typing noise when talking to her, you're nothing in comparision
>>
File: file.png (75 KB, 709x631)
75 KB PNG
>>110501964
I like mine more
>>
>>110502398
yours is extremely inefficient though
>>
can we deport this fucking indian immigrant agniggha from the leaderboard?
>>
>>110502178
so the challenge was following step by step instructions
>>
File: agniggha.png (969 KB, 474x1032)
969 KB PNG
>>110502506
you won't do shit, timmy.
>>
>>110502546
that's not agniggha though
>>
anons, if you use HashSet to look up only two tree locations. it will cut the execution cost from 140s to 4s
>>
>>110502105
I want to get into Rust myself. What brand of estrogen do you recommend I take?
>>
>>110502676
indexing into an array is cheaper than hashing the key and then probing the hashtable.
sop talking nonsense.
>>
In Prolog, this is just
:- initialization(main, main).
:- dynamic t/2.

square(R, C, DR, DC) :-
t(R, C),
t(R2, C2), DC is C2 - C, DC > 0, DR is R2 - R, DR >= 0,
R3 is R + DC, C3 is C - DR, t(R3, C3),
R4 is R2 + DC, C4 is C2 - DR, t(R4, C4).

% part 1
count(1, N) :- aggregate_all(count, square(_, _, 0, _), N).
% part 2
count(2, N) :- aggregate_all(count, square(_, _, _, _), N).

load(File) :-
read_file_to_string(File, Str, []),
split_string(Str, "\n", "", Lines),
forall((nth0(R, Lines, Line), sub_atom(Line, C, 1, _, '#')),
assertz(t(R, C))).

main :-
current_prolog_flag(argv, Argv),
(Argv = [P|Rest] -> atom_number(P, Part); Part = 1, Rest = []),
(Rest = [File|_] -> true; File = input),
load(File),
count(Part, N),
format("~d~n", [N]).
>>
>>110502440
rust's privilege
>>110502685
don't worry you got enough from all the microplastics
>>
File: carbon.png (572 KB, 1970x3222)
572 KB PNG
>>110501961
my p1 solution had a naive kinda raycaster thing going on, gave up and did it the proper way for p2
>>
>>110502690
1. put tree coordinates in set
2. pick each pair from set
3. check 1st is topmost, 2nd is rightmost
4. derive next pair
5. check next pair in set

much cheaper
>>
>>110502706
based
we need more like this in this thread
there used to be so many anons solving in niche languages
can't believe how rare you niggers have become now
>>
>>110502747
1. put tree coordinates in a list
2. pick each pair from list
3. check 1st is topmost, 2nd is rightmost
4. derive next pair
5. check next pair in list

notice how I'm not hashing anything?
>>
>>110502747
>much cheaper
in theory
>>
File: carbon(1).png (438 KB, 1280x3308)
438 KB PNG
Reposting in new bread
>>
>>110502792
>in theory
post algorithmic complexity proof
>>
>>110502771
>5. check next pair in list
this is rape btw
>>
File: 3a.png (42 KB, 1200x1200)
42 KB PNG
This puzzle blows.
>>
File: 3b.png (30 KB, 1200x1200)
30 KB PNG
>>110502804
>>
i dont wanna google an algorithm, someone give me a hint on how you rotate a square
>>
>>110502834
(x, y) rotated 90 degrees around (0, 0) is (-y, x).
>>
>>110502841
90 degrees is the easy one, its all the degrees in between that confuse me
>>
>>110502853
you dont need any of that, it's liek a chessboard
think of how a knight moves
>>
File: surprised.gif (1.62 MB, 288x204)
1.62 MB GIF
>>110502862
>>
File: phew.png (9 KB, 595x348)
9 KB PNG
>>110502834
>>
>>110502812
is this a witness reference
>>
File: not yet.png (884 KB, 1280x720)
884 KB PNG
>>110502885
here is a tip
>>
>>110502800
I don't need to. Checking each pair in the list will cost more than simply indexing an array to see if there's a # there
>>
>>110502871
https://en.wikipedia.org/wiki/Taxicab_geometry
If you're still confused. You rotate the slope basically.
>>
>>110502990
>simply indexing an array to see if there's a # there
but that's what I'm saying, see >>110502690
>>
File: carbon(12).png (732 KB, 1648x3760)
732 KB PNG
comfy broot today
>>110502916
kek
>>
>>110502794
pretty based
>>
>>110503222
yeah I agree with that I'm not this nigga >>110502747
>>
Tried a set solution for part A. Increased my time from 2 sec to almost a minute. Good experiment, though. Unfortunately I'll just have to accept my bigboy time at 25 min single threaded.
>>
File: day3.png (203 KB, 1146x1172)
203 KB PNG
where my nimmers at?
>>
File: part 3.png (13 KB, 717x79)
13 KB PNG
Lanternfish! While we wait for day 4, BigInt edition.
5,3,2,2,1,1,4,1,5,5,1,3,1,5,1,2,1,4,1,2,1,2,1,4,2,
4,1,5,1,3,5,4,3,3,1,4,1,3,4,4,1,5,4,3,3,2,5,1,1,3,
1,4,3,2,2,3,1,3,1,3,1,5,3,5,1,3,1,4,2,1,4,1,5,5,5,
2,4,2,1,4,1,3,5,5,1,4,1,1,4,2,2,1,3,1,1,1,1,3,4,1,
4,1,1,1,4,4,4,1,3,1,3,4,1,4,1,2,2,2,5,4,1,3,1,2,1,
4,1,4,5,2,4,5,4,1,2,2,4,2,2,2,1,3,5,2,5,1,1,4,5,4,
3,2,4,1,5,2,2,5,1,4,1,5,1,3,5,1,2,1,1,1,5,4,4,5,1,
1,1,4,1,3,3,5,5,1,5,2,1,1,3,1,1,3,2,3,4,4,1,5,5,3,
2,1,1,1,4,3,1,3,3,1,1,2,2,1,2,2,2,1,1,5,1,2,2,5,2,
4,1,1,2,4,1,2,3,4,1,2,1,2,4,2,1,1,5,3,1,4,4,4,1,5,
2,3,4,4,1,5,1,2,2,4,1,1,2,1,1,1,1,5,1,3,3,1,1,1,1,
4,1,2,2,5,1,2,1,3,4,1,3,4,3,3,1,1,5,5,5,2,4,3,1,4

part 1, 80 days: 359789
part 2, 256 days: 1631058187388
part 3, 10000 days: picrel
>>
HashSet::contains(tree) -> bool
is a 3500% improvement over
Iterator::contains(tree) -> bool
and that's a fact
>>
>>110503508
even as the source of the Iterator gets smaller gets smaller it is much worse than a full size HashSet lookup
>>
>>110503508
well how are you building the hashset? by checking what each iterator contains and copying it over, retard
>>
I know how to optimize this but I don't feel like writing the code for it
>>
>>110503508
I have to admit. i did break something in Part2 and now it's wrong. even though i didn't change any logic
>>
people are going to get filtered
>>
>>110503508
no shit?
>>
>>110503582
also this. you niggas aren't really using a hashset for this problem right? I could understand if you have like a 500+MiB text file where only like 1% are trees, but really.
>>
>>110502853
Not needed for this problem. However in general, it's best not to memorize formulas, rather you want to know why it works. Ask AI or consult books to walk you through it, here's a prompt:
>Don't give me the rotation matrix upfront. Walk me through discovering it. Start with the standard basis vectors in 2D, show how arbitrary vectors are built from them, then investigate what happens when the basis vectors are rotated. Use that to motivate matrix multiplication as a transformation, and eventually derive the rotation matrix. Ask me questions along the way rather than immediately giving me the answer.
>>
>>110498727
I have no fuckling clue where to begin on making sense of this. Can anyone give a breakdown on how this shit works? I already got the two stars but my approach is looks at all pairs of points and checks the squares on the edge pairs using math.

Explaining how this works might require a whole ass blog post so i don't really expect anyone to do it. But still it could help people learn how to do ts.
>>
>>110503797
>banned for trying to do model distillation
>>
>>110503797
you forgot "make no mistakes", fucking imbecile
>>
>>110503813
>make no mistakes
You're poor, frontier models don't need that.
>>
>>110503499
I mean... snoreville? shit runs instantly or will overflow u64 if too large...
>>
>>110503811
kek.
>>110503797
anon, this shit is trivial babby shit though.
https://en.wikipedia.org/wiki/Rotation_matrix
literally instant google result. since you only get cardinals 90, 180, 270 it's as trivial as swap, negate as already said. You can't do any other rots because that opens up the doorway to floating point inexactness.
>>
>>110503854
>shit is trivial babby shit though
Which you weren't born knowing. Googling is will give you a direct answer, but won't develop any understanding.
>>
// if hashset.contains(&key_bottom_left) && hashset.contains(&key_bottom_right) {
// squares += 1;
// }
if coordinated.iter().any(|&k| k == key_bottom_left) && coordinated.iter().any(|&k| k == key_bottom_right) {
squares += 1;
}
the hashset solution doesn't work because the above are not equivalent and i don't know why
>>
>>110503913
what? if you took trig in skool, you could figure it out from first principles.
>>
>>110503920
Well the anon is old enough to enter an AoC contest and said he had trouble with other rotations, so I guess he didn't...
Why is it that when you try to help one retard, a bigger idiot comes along to brag that he already knows it?
>HURRR THING I KNOW MENTIONED.
>>
>>110503943
the wikipedia page I linked is a better place to learn than any LLM slop.
>>
Never spoon feed the retards! You will regret doing it every single time. Retards will always be retards, because they prefer to be. It's like giving money to the poor, it changes nothing, they'll be poor tomorrow.
>>
>>110502706
I kneel, this is the first program I ever wrote in prolog and it sucks
:- initialization(main, main).
:- dynamic pair/3.
:- dynamic npair/4.

rpair(Lines, R, C1, D) :-
nth1(R, Lines, Line),
string_chars(Line, Cline),
nth1(C1, Cline, '#'),
nth1(C2, Cline, '#'),
C2 > C1,
D is C2 - C1.

r2pair(Lines, R1, C1, Dx, Dy) :-
nth1(R1, Lines, Line1),
string_chars(Line1, Cline1),
nth1(R2, Lines, Line2),
string_chars(Line2, Cline2),
nth1(C1, Cline1, '#'),
nth1(C2, Cline2, '#'),
C2 > C1,
R2 =< R1,
Dx is C2 - C1,
Dy is R1 - R2.

main :-
read_string(user_input, _, In),
split_string(In, "\n", "", Lines),

forall(rpair(Lines, R, C, D), assertz(pair(R, C, D))),
aggregate_all(count, (pair(R, C, D), R2 is R - D, pair(R2, C, D)), Result),

format("~d~n", Result),

forall(r2pair(Lines, R, C, Dx, Dy), assertz(npair(R, C, Dx, Dy))),
aggregate_all(count, (npair(R, C, Dx, Dy), R2 is R - Dx, C2 is C - Dy, npair(R2, C2, Dx, Dy)), Result2),

format("~d~n", Result2).
>>
>>110503964
I used to be a total retard and some people in the python irc channel were incredibly patient with my retarded questions about every other paragraph in the tutorial/official docs
>>
>>110503950
Wikipedia is a horrible place to learn, mostly just formula dumps.
>LLM slop
Ah, you're an anti-AI retard. Well, your LLM could be instructed to use the 'Socratic method' to teach, and in the process discover what small piece anon was lacking.
>>
>>110503973
had it as a part of a course I had and I could not wrap my head around the prolog strategy of appending to a list
>>
>>110503805
It's not nearly as interesting as it might look, anon. Your solution is guaranteed better, in fact. I thought I was being clever in part 1 and rather than doing it properly in part 2 I kinda just kept churning.

Each row of the map becomes one big number, with a 1 bit wherever there's a tree. ANDing two rows then tells you every column where both have a tree, all at once for the given set of rows.
>>
>>110503993
They were grooming you.
>>
File: ar.png (21 KB, 921x920)
21 KB PNG
The published bigboys take forever to complete. This sample takes around 2000 times the puzzle input.

day:    3
url: https://files.catbox.moe/b1d3y9.zip
grid: 920x920
time: x2000
silver: 361674
gold: 26584377
>>
why would I do this when claude could solve it in second?
>>
File: file.png (82 KB, 717x946)
82 KB PNG
scrubbed my ass a lil, the good solution
>>
>>110504039
In that case take a sit in the cuck chair while you see the AI doing it for you.
>>
>>110504054
ok snailcoder
>>
>>110504039
fleshcels will NOT be able to reply because they know it's over for them
>>
>>110503997
not that anon but I sometimes have questions where I dont know if I can trust the llm explanations because the explanations are hard to verify
mainly for stats and ml stuff where I guess an example that comes to mind is asking why you optimize for a taylor or newton approximation of the loss or gradient instead of the loss or gradient in some cases
and while the llm answer might make sense you have no way of knowing whether it is making stuff up or if the actual reason is something else
>>
>>110504088
ok cuckcoder
>>
>>110504026
think everyone brooted today, is there actually a smarter solution?
>>
>>110504026
only if your solution sucks, anon. mine completes in a few seconds.
>>
>>110504120
I don't believe so.
>>
File: show_code.gif (22 KB, 348x480)
22 KB GIF
>>110504123
>>
>>110504123
What’s your solution?
>>
>>110504026
squares=26584377 in 97.768641s
on a i5-2400 CPU
i would really like to know how fast it would be on a good one
>>
>>110504120
There can be n^2 squares and I can't see any way to avoid enumerating every square
>>
>>110504144
>>110502794
>>
>look over 2025 stuff
>remember problems that Eric protected babbies from edge cases
why did he do it?
>>
File: mylittlebroot.png (15 KB, 736x219)
15 KB PNG
>>110504144
not that anon but you cant call your solution a broot if you at any point iterated over trees instead of rawdogging the whole (padded) array and every possible side-vector
>>
>>110504002
The teacher for the course I was supposed to learn it in had a sabbatical, the temporary replacement one taught us haskell instead
>>
>>110504162
P2 26584377

real 0m16.484s

12th Gen Intel(R) Core(TM) i9-12900K
>>
>>110504192
wew those are two entirely different language paradigms though
you got scammed
>>
>>110504196
I can probably make it faster with parallelization.
>>
>>110504039
Good question, anon. You should ponder it as you close the tab.
>>
>>110504199
The class is called "logical and functional programming", so its just kinda stupid in that regard
>>
>>110504267
I would expect a bit of both to be fair rather than just one or the other
>>
I don't give a shit to optimize this when it's already fast enough. Learning rust is hard but at least it's easy to debug when needed (no segfaults)
>>
File: carbon.png (795 KB, 1734x3760)
795 KB PNG
>>
>>110504276
I would expect the same desu
>>
>>110504362
pre- and post-increments are so gross
>>
>>110504120
see >>110504046

the smarter solution scales with the amount of trees, not grid size
>>
C, and mapping file to memory.
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
typedef struct { HANDLE f_, m_; PBYTE begin, end; } MemFile;
void MapF(const char* s, MemFile* o) {
o->m_ = NULL, o->begin = o->end = 0;
o->f_ = CreateFile(s, GENERIC_READ, FILE_SHARE_READ,
0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if (o->f_ == INVALID_HANDLE_VALUE) return;
LARGE_INTEGER z;
if (!GetFileSizeEx(o->f_, &z)) return;
o->m_ = CreateFileMapping(o->f_, 0, PAGE_READONLY, 0, 0, 0);
if (o->m_ == NULL) return;
o->begin = (const PBYTE)MapViewOfFile(o->m_, FILE_MAP_READ, 0, 0, 0);
if (!o->begin) return;
o->end = o->begin + z.QuadPart;
}
void UnMapF(MemFile* o) {
if (o->begin) UnmapViewOfFile(o->begin);
if (o->m_ != NULL) CloseHandle(o->m_);
if (o->f_ != INVALID_HANDLE_VALUE) CloseHandle(o->f_);
}
#include <stdio.h>
typedef unsigned N;
int main(int argc, const char** args) {
if (argc < 2) return puts("Missing filename");
MemFile in; MapF(args[1], &in);
N s = 0;
for (auto p = in.begin; p != in.end; ++p) if (++s, *p == '\n') break;
N h = (in.end - in.begin + 1) / s;
N p1 = 0, p2 = 0, x = 0, y = 0;
for (auto p = in.begin; p != in.end; ++p) {
const char c = *p;
++x;
if (c != '#') {
if (c == '\n') x = 0, ++y;
continue;
}
const N mx = s - x, my = h - y, m = mx < my ? mx : my;
for (N l = 1; l < m; ++l)
if (p[l] == '#' && p[l * s] == '#' && p[l * s + l] == '#')
++p1, ++p2;
for (N l = 2, ls = s + s; l < my; ++l, ls += s)
for (N r = 1, rs = s; r < l; ++r, rs += s) {
if (x + l - r >= s) continue;
if (x <= r) continue;
if (p[l + rs - r] == '#' &&
p[ls - r - rs] == '#' &&
p[ls + l - r - r] == '#') ++p2;
}
}
printf("%u\n%u\n", p1, p2);
UnMapF(&in);
}
>>
>>110504510
>
#include <windows.h>

yuck I I thought this was supposed to be portable assembler
>>
>>110504541
It works with Wine in Linux.
>>
File: code.png (381 KB, 2172x1622)
381 KB PNG
ok i am NOT filtered, inspiration finally hit me and i understood how to do it
pretty tricky for a day 3
>>
File: code.png (281 KB, 2172x1204)
281 KB PNG
>>110504592
actually i guess just do both parts at the same time
>>
>>110504624
now, bigboy
>>
>>110504641
too slow, i gave up
im sure theres better ordering/pruning that could be done to make it work, dunno if i can be bothered though
>>
>>110501961
ugliest site ever award
>>
File: day3.png (86 KB, 1696x859)
86 KB PNG
Problem 1 actually took me longer because i tried a by-diagonal approach instead of a by-line one.
Here's my solution for the second puzzle.
>>
>>110504689
you have not seen many sites
>>
File: d3_brute.png (1.1 MB, 1930x5304)
1.1 MB PNG
simd brute

>>110502054
Silver: 839913
Gold: 700901761

Performance counter stats for './3 ../../../inputs/3/bigboy.txt':

75,818,714,058 cycles:u
155,693,512,192 instructions:u

19.060802172 seconds time elapsed


>>110504026
Silver: 361674
Gold: 26584377

Performance counter stats for './3 ../../../inputs/3/aoc_2026_day3_cg.txt' (100 runs):

0 user_time
0 system_time
902,013,085 cycles:u ( +- 0.08% )
2,031,030,792 instructions:u ( +- 0.00% )

0.227341747 +- 0.000174865 seconds time elapsed ( +- 0.08% )
>>
>>110501961
Today's could be brute forced. Yes, there are faster options, but brute force worked enough.
I'm guessing that from tomorrow I might need to start thinking about algorithms, lol.
>>
>>110504837
brooters dont give up
>>
can we have a normal conversation instead of posting code that nobody reads.
like how do we figure out who the group leader is?
>>
>>110504977
the one that posted the best solution is the group leader, but since no one reads the posted solutions, we'll never find out.
>>
>>110504803
Dayum, nice
What's the mmap size?
>>
>>110504046
Ran it for >>110502054
Day 3 Part 1 (142.8311599s): 839913
Day 3 Part 2 (927.3642393s): 700901761
>>
yo Rust coders. how can we measure cycles instead of seconds. i think that makes so much more sense to compare
>>
>>110505076
Just add more digits to your time measurement.
>>
>>110503830
>BigInt edition
read, faggot
>>
probably just me but bigint problems are uninteresting unless you implemented your bigint library yourself
>wowee I changed my longs to bigint haha gocha :D
>>
tf is bigint, you mean int64 or is it some other mental illness
>>
>>110505201
so certain yet you know so little. i could tell you, as long as you understand the rules of the house.
*unzips*
>>
>>110505201
For most architectures it is the same as a double word.
>>
>>110505282
usually it means a type to represent arbitrary ranges of numbers
>>
>>110505106
No. You're gay.
>>
haskell is fun :)
>>
I am not a clever man, but I will bend this language to my will.
>>
>>110506174
beautiful
>>
Lol nobody gives a shit about advent of shit now that everybody has AI. its not going to boost your linkedin anymore
>>
File: carbon(4).png (212 KB, 1138x1960)
212 KB PNG
$ mix aoc.solve -r input/real -y 2026 -d 3 -p b --bench 1
283
947

Ran in 89.21ms


Muddled through last night but just now finished washing. For part 1 I only enumerated pairs of trees within the same row, but I threw that out for brevity since part 2 practically solves both anyway. I might redo part 1 at some point since I had the idea of just making one pass over the input string, maintaining a list of candidate squares and checking for trees in the bottom left/right corners as you reach them.
>>
>>110506303
I basically got my interview for my current job because one of the senior engineers checked my Github and saw that I'd done a bunch of problems in his favorite niche language, lol.
>>
>>110506303
Look we get it, you were filtered. Fuck off to your desktop thread.
>>
File: day3.png (260 KB, 680x1744)
260 KB PNG
These part 2's are kind of brutal so far innit?
Not exactly hard in the sense that you have to arrive at special intuitions or anything, but painful to implement.
>>
>>110506318
that's basically it. you still gotta be someone to get invited to the big companies to get a slice. Everybody uses AI but everybody is still a nobody to someone who can give you something.
if it wasn't programming, maybe it would be a sport or something
>>
File: im-1796347834-905.png (64 KB, 693x394)
64 KB PNG
brainlet solver, required pen and paper for formula and even then it took an embarassingly long time. maybe ai has rotted my brain.
in fact i'm sure it has.
>tfw can still complete captcha tho
>>
File: day3.jpg (1.5 MB, 2057x3999)
1.5 MB JPG
Started today, this years goal is to learn vi

Took me 3 hours to make the 3 days
>>
File: day2.jpg (1.27 MB, 1931x3324)
1.27 MB JPG
>>110506638
>>
File: day1.jpg (3.28 MB, 2310x9474)
3.28 MB JPG
>>110506652
Day 1 was the gnarliest for some reason, I assumed step 2 would be to do for N first items, but I could just use 3 accumulators in hindsight

Gotta love short names when being a noob with vi



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.