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

19 lines
237 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-23 18:47:21 +02:00
for (int i = 1; i <= 18; i++)
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;
}