3 ms·
Hey tosh! Funny seeing you here (especially mere hours after I replied to you on Reddit) AoC is great. I've been doing it in Scheme. Except today's challenge,
by qwertyuiop924 10y ago
Hey tosh! Funny seeing you here (especially mere hours after I replied to you on Reddit)
AoC is great. I've been doing it in Scheme. Except today's challenge, which I did in AWK, because it was perfectly suited for the task (although I could have also used the AWK scheme macro). Plus, in Scheme, you don't wind up with code like this
{if(($1+$2>$3)&&($1+$3>$2)&&($2+$3>$1)) count++;} END {print count}
Aren't one-liners fun?