Problem | typoswap |
---|---|
User | Javel17 |
Submission Time | 2024-06-21 14:04:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typoswap.cpp: In function ‘int main()’:
typoswap.cpp:6:24: error: no matching function for call to ‘std::deque<std::__cxx11::basic_string<char> >::deque(std::string&, std::string&)’
6 | deque <string> dq(s, t);
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from typoswap.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1050:2: note: candidate: ‘template<class _InputIterator, class> std::deque<_Tp, _Alloc>::deque(_InputIterator, _InputIterator, const allocator_type&)’
1050 | deque(_InputIterator __first, _InputIterator __last,
| ^~~~~
/usr/include/c++/9/bits/stl_deque.h:1050:2: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/9/bits/stl_algobase.h:65,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/