| Problem | conversations_easy |
|---|---|
| User | Karax |
| Submission Time | 2026-11-06 10:13:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
conversations_easy.cpp: In function ‘int main()’:
conversations_easy.cpp:22:41: error: no match for ‘operator=’ (operand types are ‘std::unordered_map<long long int, std::__cxx11::list<long long int> >::mapped_type’ {aka ‘std::__cxx11::list<long long int>’} and ‘std::__cxx11::list<long long int>::iterator’ {aka ‘std::_List_iterator<long long int>’})
22 | position[id] = topics.begin();
| ^
In file included from /usr/include/c++/9/list:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:79,
from conversations_easy.cpp:1:
/usr/include/c++/9/bits/list.tcc:267:5: note: candidate: ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = long long int; _Alloc = std::allocator<long long int>]’
267 | list<_Tp, _Alloc>::
|