gap.cpp: In function 'll findGap(ll, ll)':
gap.cpp:31:49: error: invalid conversion from 'll*' {aka 'long long int*'} to 'long long int' [-fpermissive]
31 | MinMax(b[i].first - b[i - 1].first, &mn, &mx);
| ^~~
| |
| ll* {aka long long int*}
gap.cpp:31:57: error: too few arguments to function 'void MinMax(long long int, long long int, long long int*, long long int*)'
31 | MinMax(b[i].first - b[i - 1].first, &mn, &mx);
| ^
In file included from gap.cpp:2:
gap.h:1:6: note: declared here
1 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~