From 6d2c90d4f74bad1a99b80145be55e84461a8a307 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 7 Dec 2021 10:45:06 +0100 Subject: yee --- template/c/solve.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'template/c') diff --git a/template/c/solve.c b/template/c/solve.c index 28befcf..270ca79 100644 --- a/template/c/solve.c +++ b/template/c/solve.c @@ -2,6 +2,9 @@ #include #include +#define ABS(a) ((a) < 0 ? -(a) : (a)) +#define MIN(a, b) (((a) < (b)) ? (a) : (b)) +#define MAX(a, b) (((a) > (b)) ? (a) : (b)) #define COUNT(a) ((int)(sizeof(a) / sizeof 0 [a])) #define FORLINE \ -- cgit v1.2.3