Problem | cups |
---|---|
User | eliasxyz |
Submission Time | 2025-06-13 19:19:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cups.cpp: In function ‘int main()’:
cups.cpp:12:29: error: no matching function for call to ‘std::unordered_multimap<long long int, long long int>::insert(long long int&, int)’
12 | if(cmd==2){cups.insert(x,1);}
| ^
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 cups.cpp:1:
/usr/include/c++/9/bits/unordered_map.h:1572:7: note: candidate: ‘std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::iterator std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(const value_type&) [with _Key = long long int; _Tp = long long int; _Hash = std::hash<long long int>; _Pred = std::equal_to<long long int&