update -z

This commit is contained in:
chhylp123
2021-02-02 12:45:50 -05:00
parent 02b9a3e109
commit fda13cb0e4
5 changed files with 615 additions and 339 deletions
+2 -2
View File
@@ -21,8 +21,8 @@
///#define FLAG_THRE 0
#define MAX(x, y) ((x >= y)?(x):(y))
#define MIN(x, y) ((x <= y)?(x):(y))
#define MAX(x, y) (((x) >= (y))?(x):(y))
#define MIN(x, y) (((x) <= (y))?(x):(y))
#define DIFF(x, y) ((MAX((x), (y))) - (MIN((x), (y))))
#define OVERLAP(x_start, x_end, y_start, y_end) (MIN(x_end, y_end) - MAX(x_start, y_start) + 1)
///#define OVERLAP(x_start, x_end, y_start, y_end) MIN(x_end, y_end) - MAX(x_start, y_start) + 1