Problem | graphcraft |
---|---|
User | Reverberate |
Submission Time | 2024-03-15 22:25:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
graphcraft.cpp: In function ‘long long int graphcraft(long long int, long long int, std::vector<std::pair<long long int, long long int> >*)’:
graphcraft.cpp:35:19: error: no matching function for call to ‘begin(std::vector<std::pair<long long int, long long int> >*&)’
35 | for(auto &a : V){
| ^
In file included from /usr/include/c++/9/utility:76,
from /usr/include/c++/9/bits/stl_uninitialized.h:60,
from /usr/include/c++/9/vector:66,
from graphcraft.h:1,
from graphcraft.cpp:1:
/usr/include/c++/9/initializer_list:89:5: note: candidate: ‘template<class _Tp> constexpr const _Tp* std::begin(std::initializer_list<_Tp>)’
89 | begin(initializer_list<_Tp> __ils) noexcept
| ^~~~~
/usr/include/c++/9/initializer_list:89:5: note: template argument deduction/substitution failed:
graphcraft.cpp:35:19: not