| Problem | 4sum |
|---|---|
| User | RandomCtfNoob |
| Submission Time | 2026-01-21 17:35:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
4sum.cpp: In function ‘int main()’:
4sum.cpp:52:20: error: no matching function for call to ‘std::unordered_map<int, std::pair<int, int> >::find(__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, std::pair<int, int> > >, std::pair<int, std::pair<int, int> > >::value_type&)’
52 | if (cd.find(ab[i]) != cd.end()){
| ^
In file included from /usr/include/c++/9/unordered_map:47,
from /usr/include/c++/9/functional:61,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from 4sum.cpp:1:
/usr/include/c++/9/bits/unordered_map.h:921:7: note: candidate: ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::iterator std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::find(const key_type&) [wit