diff options
author | Marvin Borner | 2021-12-05 13:40:00 +0100 |
---|---|---|
committer | Marvin Borner | 2021-12-05 13:40:00 +0100 |
commit | 7fc45a3ac60662a87c91393d311e4e4246fa7f5c (patch) | |
tree | dcc254d4506772f4be07d1b95bcd43509120fcdd | |
parent | b19dc6dd3da8e3b3fe6dc8e1faafd9606380de42 (diff) |
count dooku
-rw-r--r-- | template/c/solve.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/template/c/solve.c b/template/c/solve.c index c71182e..28befcf 100644 --- a/template/c/solve.c +++ b/template/c/solve.c @@ -2,6 +2,8 @@ #include <stdlib.h> #include <time.h> +#define COUNT(a) ((int)(sizeof(a) / sizeof 0 [a])) + #define FORLINE \ char *line = NULL; \ size_t len = 0; \ |