From 7fc45a3ac60662a87c91393d311e4e4246fa7f5c Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 5 Dec 2021 13:40:00 +0100 Subject: count dooku --- template/c/solve.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'template/c') 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 #include +#define COUNT(a) ((int)(sizeof(a) / sizeof 0 [a])) + #define FORLINE \ char *line = NULL; \ size_t len = 0; \ -- cgit v1.2.3