contains
static inline bool contains(u64 s1, u64 e1, u64 s2, u64 e2)
static bool contains(const int *arr, int cnt, int val)