Problem | milkweed |
---|---|
User | popperoni |
Submission Time | 2023-11-19 18:32:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
milkweed.cpp: In function ‘int main()’:
milkweed.cpp:16:26: error: no match for ‘operator=’ (operand types are ‘std::vector<char>’ and ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’})
16 | e[i][j] = f[j];
| ^
In file included from /usr/include/c++/9/vector:72,
from milkweed.cpp:2:
/usr/include/c++/9/bits/vector.tcc:198:5: note: candidate: ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = char; _Alloc = std::allocator<char>]’
198 | vector<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/vector.tcc:199:42: note: no known conversion for argument 1 from ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’} to ‘const std::vector<char>&’
199 | operator=(const vector<_Tp, _Alloc>