gap.cpp:8:1: error: 'pll' does not name a type; did you mean 'll'?
8 | pll b[100201];
| ^~~
| ll
gap.cpp: In function 'll findGap(ll, ll)':
gap.cpp:13:20: error: invalid conversion from 'll' {aka 'long long int'} to 'long long int*' [-fpermissive]
13 | MinMax(0, inf, mn, mx);
| ^~
| |
| ll {aka 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:13:24: error: invalid conversion from 'll' {aka 'long long int'} to 'long long int*' [-fpermissive]
13 | MinMax(0, inf, mn, mx);
| ^~
| |
| ll {aka 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:22:28: error: invalid conversion from 'll' {aka 'long long int'} to 'long long int*' [-fpermissive]
22 | MinMax(l[i], r[i], mn, mx);
| ^~
| |
| ll {aka 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:22:32: error: invalid conversion from 'll' {aka 'long long int'} to 'long long int*' [-fpermissive]
22 | MinMax(l[i], r[i], mn, mx);
| ^~
| |
| ll {aka 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:23:9: error: 'b' was not declared in this scope
23 | b[i] = {mn, mx};
| ^
gap.cpp:29:20: error: 'b' was not declared in this scope
29 | MinMax(b[i].first - b[i - 1].first, mn, mx);
| ^
gap.cpp:36:17: error: 'b' was not declared in this scope
36 | if (b[i].first == -1) continue;
| ^
gap.cpp:37:25: error: 'b' was not declared in this scope
37 | MinMax(bef, b[i].first, mn, mx);
| ^