gap.cpp: In function 'long long int sol1(int)':
gap.cpp:26:22: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
26 | MinMax(mn,mx,s,t);
| ^
| |
| long long int
In file included from gap.cpp:2:
gap.h:1:35: note: initializing argument 3 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
1 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~~~~~
gap.cpp:26:24: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
26 | MinMax(mn,mx,s,t);
| ^
| |
| long long int
In file included from gap.cpp:2:
gap.h:1:47: note: initializing argument 4 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
1 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~~~~~
gap.cpp: In function 'long long int sol2(int)':
gap.cpp:34:25: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
34 | ll s,t;MinMax(mn,mx,s,t);
| ^
| |
| long long int
In file included from gap.cpp:2:
gap.h:1:35: note: initializing argument 3 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
1 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~~~~~
gap.cpp:34:27: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
34 | ll s,t;MinMax(mn,mx,s,t);
| ^
| |
| long long int
In file included from gap.cpp:2:
gap.h:1:47: note: initializing argument 4 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
1 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~~~~~
gap.cpp:41:31: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
41 | MinMax(s,s+tt*add,cmn,cmx);
| ^~~
| |
| long long int
In file included from gap.cpp:2:
gap.h:1:35: note: initializing argument 3 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
1 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~~~~~
gap.cpp:41:35: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
41 | MinMax(s,s+tt*add,cmn,cmx);
| ^~~
| |
| long long int
In file included from gap.cpp:2:
gap.h:1:47: note: initializing argument 4 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
1 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~~~~~
gap.cpp:45:38: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
45 | MinMax(s+(tt-1)*add,s+tt*add,cmn2,cmx2);
| ^~~~
| |
| long long int
In file included from gap.cpp:2:
gap.h:1:35: note: initializing argument 3 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
1 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~~~~~
gap.cpp:45:43: error: invalid conversion from 'long long int' to 'long long int*' [-fpermissive]
45 | MinMax(s+(tt-1)*add,s+tt*add,cmn2,cmx2);
| ^~~~
| |
| long long int
In file included from gap.cpp:2:
gap.h:1:47: note: initializing argument 4 of 'void MinMax(long long int, long long int, long long int*, long long int*)'
1 | void MinMax(long long, long long, long long*, long long*);
| ^~~~~~~~~~