Problem | roadsideadverts |
---|---|
User | emyz |
Submission Time | 2024-03-12 15:22:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
roadsideadverts.cpp:7:10: error: template placeholder type ‘vector<...auto...>’ must be followed by a simple declarator-id
7 | int prim(vector<vector<Edge>>& graph, int start) {
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from roadsideadverts.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘template<class _Tp, class _Alloc> class std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
roadsideadverts.cpp:7:19: error: expected ‘)’ before ‘;’ token
7 | int prim(vector<vector<Edge>>& graph, int start) {
| ~