banan-os/userspace/aoc2023/full/main.cpp

21 lines
265 B
C++

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
for (int i = 1; i <= 25; i++)
{
if (i == 22)
continue;
printf("day %d:\n", i);
char command[128];
sprintf(command, "/bin/aoc2023/day%d", i);
system(command);
}
return 0;
}