gap.cpp: In function 'll findGap(int, int)':
gap.cpp:26:50: warning: operation on 'r' may be undefined [-Wsequence-point]
MinMax(a[l]+1,a[r]-1,&a[l++],&a[r--]);
^
gap.cpp:26:50: warning: operation on 'l' may be undefined [-Wsequence-point]
gap.cpp: At global scope:
gap.cpp:7:13: warning: 'void my_assert(int)' defined but not used [-Wunused-function]
static void my_assert(int k){ if (!k) exit(1); }
^
gap.cpp:9:12: warning: 'subtask_num' defined but not used [-Wunused-variable]
static int subtask_num, N;
^
gap.cpp:9:25: warning: 'N' defined but not used [-Wunused-variable]
static int subtask_num, N;
^
gap.cpp:10:18: warning: 'A' defined but not used [-Wunused-variable]
static long long A[100001];
^
gap.cpp:11:18: warning: 'call_count' defined but not used [-Wunused-variable]
static long long call_count;
^