Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Fwiw there’s a few recurring formats, the old hands have a bunch of helpers for that and other things. Sometimes there’s something completely bespoke but the most commons are space-separated lines of things, usually ints, commonly fixed-size.


For 2022 day 5, the hard part was parsing the input.

https://adventofcode.com/2022/day/5




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: