diff options
author | Marvin Borner | 2021-12-07 10:45:06 +0100 |
---|---|---|
committer | Marvin Borner | 2021-12-07 10:45:06 +0100 |
commit | 6d2c90d4f74bad1a99b80145be55e84461a8a307 (patch) | |
tree | 442d652461cc105720399ea0b309c52a7de1104b /template/c/solve.c | |
parent | 1a81f0925c8ae7fccf8826d8d0378378e0f38129 (diff) |
yee
Diffstat (limited to 'template/c/solve.c')
-rw-r--r-- | template/c/solve.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <stdlib.h> #include <time.h> +#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 \ |