gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:39:31: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(l + 1, r - 1, nl, nr);
^
In file included from gap.cpp:2:0:
gap.h:1:6: note: initializing argument 3 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
void MinMax(long long, long long, long long*, long long*);
^
gap.cpp:39:31: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(l + 1, r - 1, nl, nr);
^
In file included from gap.cpp:2:0:
gap.h:1:6: note: initializing argument 4 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
void MinMax(long long, long long, long long*, long long*);
^
gap.cpp:53:22: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(0, INF, l, r);
^
In file included from gap.cpp:2:0:
gap.h:1:6: note: initializing argument 3 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
void MinMax(long long, long long, long long*, long long*);
^
gap.cpp:53:22: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(0, INF, l, r);
^
In file included from gap.cpp:2:0:
gap.h:1:6: note: initializing argument 4 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
void MinMax(long long, long long, long long*, long long*);
^
gap.cpp:65:40: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(l + 1, l + lower * x, nl, nr);
^
In file included from gap.cpp:2:0:
gap.h:1:6: note: initializing argument 3 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
void MinMax(long long, long long, long long*, long long*);
^
gap.cpp:65:40: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(l + 1, l + lower * x, nl, nr);
^
In file included from gap.cpp:2:0:
gap.h:1:6: note: initializing argument 4 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
void MinMax(long long, long long, long long*, long long*);
^