gap.cpp: In function 'll findGap(int, int)':
gap.cpp:34:12: error: 'ans' was not declared in this scope
return ans;
^
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;
^