aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Borner2021-12-05 13:40:00 +0100
committerMarvin Borner2021-12-05 13:40:00 +0100
commit7fc45a3ac60662a87c91393d311e4e4246fa7f5c (patch)
treedcc254d4506772f4be07d1b95bcd43509120fcdd
parentb19dc6dd3da8e3b3fe6dc8e1faafd9606380de42 (diff)
count dooku
-rw-r--r--template/c/solve.c2
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; \