#include <stddef.h>
#include "aocdailies.h"

aocfunc *aocselect(unsigned y, unsigned d) {
    aocfunc *p;
    switch (y * 100 + d) {
        default: p = NULL; break;

        case 202404: p = aoc202404; break;
        case 202403: p = aoc202403; break;
        case 202402: p = aoc202402; break;
        case 202401: p = aoc202401; break;

        #if 0
        case 201525: p = aoc201525; break;
        case 201524: p = aoc201524; break;
        case 201523: p = aoc201523; break;
        case 201522: p = aoc201522; break;
        case 201521: p = aoc201521; break;
        case 201520: p = aoc201520; break;
        case 201519: p = aoc201519; break;
        case 201518: p = aoc201518; break;
        case 201517: p = aoc201517; break;
        case 201516: p = aoc201516; break;
        case 201515: p = aoc201515; break;
        case 201514: p = aoc201514; break;
        case 201513: p = aoc201513; break;
        case 201512: p = aoc201512; break;
        case 201511: p = aoc201511; break;
        case 201510: p = aoc201510; break;
        case 201509: p = aoc201509; break;
        case 201508: p = aoc201508; break;
        case 201507: p = aoc201507; break;
        case 201506: p = aoc201506; break;
        case 201505: p = aoc201505; break;
        case 201504: p = aoc201504; break;
        case 201503: p = aoc201503; break;
        case 201502: p = aoc201502; break;
        #endif
        case 201501: p = aoc201501; break;

    }
    return p;
}
