Problem | lvm |
---|---|
User | Jayden |
Submission Time | 2025-06-06 20:44:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lvm.cpp: In function ‘void run(int)’:
lvm.cpp:12:38: error: no matching function for call to ‘get<0>(__gnu_cxx::__alloc_traits<std::allocator<std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> >, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> >::value_type&)’
12 | string command=get<0>(insts[line]);
| ^
In file included from /usr/include/c++/9/bits/stl_uninitialized.h:60,
from /usr/include/c++/9/deque:66,
from /usr/include/c++/9/stack:60,
from lvm.cpp:2:
/usr/include/c++/9/utility:219:5: note: candidate: ‘template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)’
2