gap.cpp:2:17: warning: extra tokens at end of #include directive
#include "gap.h";
^
gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:9:22: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(0,1e18,a[1],a[n]);
^
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:9:27: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(0,1e18,a[1],a[n]);
^
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:12:37: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(a[i-1]+1,a[j+1]-1,a[i],a[j]);
^
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:12:42: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
MinMax(a[i-1]+1,a[j+1]-1,a[i],a[j]);
^
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*);
^