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

21 lines
265 B
C++
Raw Normal View History

2023-12-23 18:45:40 +02:00
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
2023-12-26 14:10:49 +02:00
for (int i = 1; i <= 24; i++)
2023-12-23 18:45:40 +02:00
{
if (i == 22)
continue;
2023-12-23 18:45:40 +02:00
printf("day %d:\n", i);
char command[128];
sprintf(command, "/bin/aoc2023/day%d", i);
system(command);
}
return 0;
}