Problem binaryroads
User IWKR
Submission Time 2023-01-21 15:15:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binaryroads.cpp: In function ‘int main()’:
binaryroads.cpp:20:23: error: use of deleted function ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = std::pair<int, std::pair<int, int> >; _Hash = std::hash<std::pair<int, std::pair<int, int> > >; _Pred = std::equal_to<std::pair<int, std::pair<int, int> > >; _Alloc = std::allocator<std::pair<int, std::pair<int, int> > >]’
20 | unordered_set<pipii> s;
| ^
In file included from /usr/include/c++/9/unordered_set:47,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:118,
from binaryroads.cpp:1:
/usr/include/c++/9/bits/unordered_set.h:135:7: note: ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = std::pair<int, std::pair<int, int> >; _Hash = std::hash<std::pair<int, std::pair<int, int> &