| Problem | swords |
|---|---|
| User | R9q5P8 |
| Submission Time | 2026-10-23 08:29:26 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
swords.cpp: In function ‘int main()’:
swords.cpp:8:29: error: wrong number of template arguments (1, should be at least 2)
8 | unordered_map<pair<int, int>> b;
| ^~
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 swords.cpp:1:
/usr/include/c++/9/bits/unordered_map.h:102:11: note: provided for ‘template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> class std::unordered_map’
102 | class unordered_map
| ^~~~~~~~~~~~~
swords.cpp:15:53: error: use of deleted function ‘std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>::unordered_multiset() [with _Value = std::_Rb