Problem | laughter |
---|---|
User | wongyikai |
Submission Time | 2024-12-04 15:26:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
laughter.cpp: In function ‘int main()’:
laughter.cpp:174:38: error: cannot convert ‘std::vector<std::pair<long long int, long long int> >’ to ‘ll’ {aka ‘long long int’}
174 | pair<ll,ll> small = sweep2(k,x,ind,p,mid,0,ss,c,{0,0},-1);
| ^
| |
| std::vector<std::pair<long long int, long long int> >
laughter.cpp:58:43: note: initializing argument 4 of ‘std::pair<long long int, long long int> sweep2(ll, ll, ll, ll, ll, std::multiset<long long int>, ll, std::pair<long long int, long long int>, ll)’
58 | pair<ll,ll> sweep2(ll k, ll x, ll ind, ll t, ll temp, multiset<ll> ss, ll c, pair<ll,ll> nw, ll used){
| ~~~^
laughter.cpp:176:39: error: cannot convert ‘std::vector<std::pair<long long int, long long int> >’