#ifndef UTILS_H #define UTILS_H #define MAX(a, b) ({ \ __typeof__ (a) _a = (a); \ __typeof__ (b) _b = (b); \ _a > _b ? _a : _b; \ }) #define MIN(a, b) ({ \ __typeof__ (a) _a = (a); \ __typeof__ (b) _b = (b); \ _a < _b ? _a : _b; \ }) #define CTZ(X) __builtin_ctz (X) #define PAGEBREAK() puts ("\n ") #define NEWLINE() putchar ('\n'); typedef unsigned int uint; int input (const char *message, const char *regex, const char *template, ...); uint log10ui (uint ui); #endif