Differences From Artifact [fb8ca294f1]:
- File aocdailies.c — part of check-in [f28e83772a] at 2024-12-08 13:13:57 on branch TextGrid — struct TextGrid is replacing linearize2d (user: nnz, size: 1675) [annotate] [blame] [check-ins using] [more...]
To Artifact [53d57bd116]:
- File aocdailies.c — part of check-in [8682072363] at 2024-12-09 11:50:44 on branch trunk — 202409 1st star (user: nnz, size: 1718) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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 202409: p = aoc202409; break;
case 202408: p = aoc202408; break;
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;
|
| ︙ |