« first day (1 day earlier)   

02:49
Sounds like a reason to use a raw binary format instead of something that requires sscanf but yeah I do not really understand what else sscanf is good for once all the parameters were read. An early return would be more efficient.
 
18 hours later…
20:57
@CPlus C was designed in an era where passing a pointer to the start of an array segment was cheaper than passing an array's base address and the segment's starting index, but modern "large" CPU architectures have reduced the cost of separating base+index, while the benefits compilers could reap by assuming that all references to a given piece of storage will use a common base have increased. Fortran-style languages could be faster and safer than C-style languages when...
...targeting "large" CPUs. The use of C as an application language should be limited to platforms where passing pointers to array segments is usefully more efficient than managing array bases and indices separately.

« first day (1 day earlier)