Problem | topical |
---|---|
User | joc117 |
Submission Time | 2025-03-22 09:11:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
topical.cpp: In function ‘int main()’:
topical.cpp:20:37: error: no matching function for call to ‘std::vector<std::tuple<int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> > > >::push_back(<brace-enclosed initializer list>)’
20 | modules.push_back({i, req, gain});
| ^
In file included from /usr/include/c++/9/vector:67,
from topical.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:1184:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::tuple<int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> > >; _Alloc = std::allocator<std::tuple<int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> > > >; std::vector<_Tp, _Alloc>::value_type = std::tuple<int, std::vec