input/code.cpp: In function 'll FindGap(ll, ll)':
input/code.cpp:8:27: error: 'n' was not declared in this scope
for (int i=1; i<=(n+1)/2; ++i){
^
input/code.cpp:9:27: error: 'mn' was not declared in this scope
MinMax(c, d, &mn, &mx);
^~
input/code.cpp:9:27: note: suggested alternative: 'yn'
MinMax(c, d, &mn, &mx);
^~
yn
input/code.cpp:9:32: error: 'mx' was not declared in this scope
MinMax(c, d, &mn, &mx);
^~
input/code.cpp:15:25: error: 'n' was not declared in this scope
for (int i=1; i<n; ++i){
^
input/code.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^