Problem blanko
User haydendoo
Submission Time 2023-02-26 10:03:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

blanko.cpp: In function ‘void solve()’:
blanko.cpp:243:52: error: no matching function for call to ‘std::set<std::pair<long long int, long long int> >::find(int, long long int&)’
243 | while(ptr2<=index) { if(sus.find(s[ptr2]+'0',ptr2)!=sus.end()) sus.erase({s[ptr2]+'0',ptr2}); ++ptr2; }
| ^
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from blanko.cpp:1:
/usr/include/c++/9/bits/stl_set.h:794:7: note: candidate: ‘std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::find(const key_type&) [with _Key = std::pair<long long int, long long int>; _Compare = std::less<std::pair<long long int, long long int> >; _Alloc = std::allocator<std::pair<long long int, long long int> >; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree