Problem | triangles |
---|---|
User | jatrophalouvre |
Submission Time | 2024-08-08 22:34:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
triangles.cpp: In member function ‘size_t CH::operator()(std::pair<long unsigned int, long unsigned int>) const’:
triangles.cpp:19:31: error: use of deleted function ‘std::hash<long unsigned int>::hash()’
19 | return std::hash<ull>()(((ull)x.first) ^ (((ull)x.second) << 32));
| ^
In file included from /usr/include/c++/9/string_view:43,
from /usr/include/c++/9/bits/basic_string.h:48,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from triangles.cpp:1:
/usr/include/c++/9/bits/functional_hash.h:101:12: note: ‘std::hash<long unsigned int>::hash()’ is implicit