aboutsummaryrefslogtreecommitdiff
path: root/template/c
diff options
context:
space:
mode:
Diffstat (limited to 'template/c')
-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; \