diff --git a/2021/day01/aoc-c.c b/2021/day01/aoc-c.c index 192cf88..51318b7 100644 --- a/2021/day01/aoc-c.c +++ b/2021/day01/aoc-c.c @@ -85,7 +85,7 @@ static int usage(char *prg) int main(int ac, char **av) { int opt; - u32 exercise = 2, res; + u32 exercise = 1, res; while ((opt = getopt(ac, av, "d:p:")) != -1) { switch (opt) { diff --git a/2021/day02/aoc-c.c b/2021/day02/aoc-c.c index 6d4abf3..cd052ed 100644 --- a/2021/day02/aoc-c.c +++ b/2021/day02/aoc-c.c @@ -71,7 +71,7 @@ static int usage(char *prg) int main(int ac, char **av) { int opt; - u32 exercise = 2, res; + u32 exercise = 1, res; while ((opt = getopt(ac, av, "d:p:")) != -1) { switch (opt) {