prize.cpp: In function 'int find_best(int)':
prize.cpp:56:25: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair<long long int, long long int>' with no trivial copy-assignment [-Wclass-memaccess]
56 | memset(a,-1,sizeof a);
| ^
In file included from /usr/include/c++/10/bits/stl_algobase.h:64,
from /usr/include/c++/10/vector:60,
from prize.h:1,
from prize.cpp:1:
/usr/include/c++/10/bits/stl_pair.h:211:12: note: 'struct std::pair<long long int, long long int>' declared here
211 | struct pair
| ^~~~
prize.cpp:62:17: error: too few arguments to function 'void solve(ll, ll, ll, ll)'
62 | solve(0,n-1,req);
| ^
prize.cpp:24:6: note: declared here
24 | void solve(ll l,ll r,ll l1,ll r1){
| ^~~~~