@p4bl0.net🏴☠️ MC Pablo ∴ @p4bl0.net
2026-12-01 05:54 UTC
🎄 #AdventOfCode day 1 ! Oh oh oh ! I did this one using #Bash one-liners first but still implemented it as usual in 🐫 #OCaml (and ocamllex) too, for the fun of it :).
1 picture (not shown on this phone): Bash: echo $(($(cat | sort | uniq -c | sort -nr | head -3 | rev | cut -d' ' -f1 | rev | tr '\n' '*')1)) OCaml : rule id…
3 likes, 0 reposts, 1 replies
3 Next post4 More from @p4bl0.netBackBluesky home