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

19 lines
237 B
C++

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