Differences From Artifact [e95e69a444]:
- File aocdailies.c — part of check-in [d415c28af8] at 2024-12-05 20:38:47 on branch trunk — prepare for tomorrow, start work on 201504 (user: nnz, size: 1554) [annotate] [blame] [check-ins using]
To Artifact [e5e3eb3466]:
- File aocdailies.c — part of check-in [5cddab1bb6] at 2024-12-07 09:35:52 on branch trunk — 202407 -- answer too low, maybe got some overflowing (user: nnz, size: 1632) [annotate] [blame] [check-ins using] [more...]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | + + | #include <stddef.h> #include "aocdailies.h" aocfunc *aocselect(unsigned y, unsigned d) { aocfunc *p; switch (y * 100 + d) { default: p = NULL; break; // YYYYdd ==> aocYYYYdd case 202407: p = aoc202407; break; case 202406: p = aoc202406; break; case 202405: p = aoc202405; break; case 202404: p = aoc202404; break; case 202403: p = aoc202403; break; case 202402: p = aoc202402; break; case 202401: p = aoc202401; break; |
︙ |