gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:16:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(data.size() < N){
~~~~~~~~~~~~^~~
gap.cpp:17:23: error: 'rKiri' was not declared in this scope
MinMax(kiri, kanan, rKiri, rKanan);
^~~~~
gap.cpp:17:23: note: suggested alternative: 'rkiri'
MinMax(kiri, kanan, rKiri, rKanan);
^~~~~
rkiri
gap.cpp:20:11: error: 'rkanan' was not declared in this scope
kanan = rkanan-1;
^~~~~~
gap.cpp:20:11: note: suggested alternative: 'rKanan'
kanan = rkanan-1;
^~~~~~
rKanan