Problem transform
User Dynonychus
Submission Time 2024-01-15 19:07:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

transform.cpp: In function ‘int main()’:
transform.cpp:23:36: error: no matching function for call to ‘std::deque<std::tuple<char, char, long long int> >::push_back(<unresolved overloaded function type>)’
23 | deq.push_back(make_tuple<b, c, a>);
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from transform.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1569:7: note: candidate: ‘void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::tuple<char, char, long long int>; _Alloc = std::allocator<std::tuple<char, char, long long int> >; std::deque<_Tp, _Alloc>::value_type = std::tuple<char, char, long long int>]’
1569 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1569:35: note: no known