AOC2023: Add program to run all days

This commit is contained in:
2023-12-23 18:45:40 +02:00
parent 2e77718f07
commit 762d575d70
3 changed files with 39 additions and 0 deletions

View File

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