Problem roadsideadverts
User emyz
Submission Time 2024-03-12 15:21:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

roadsideadverts.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include <iostream>
| ^
roadsideadverts.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
2 | #include <vector>
| ^
roadsideadverts.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
3 | #include <queue>
| ^
roadsideadverts.cpp:11:10: error: ‘vector’ was not declared in this scope
11 | int prim(vector<vector<Edge>>& graph, int start) {
| ^~~~~~
roadsideadverts.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | #include <iostream>
roadsideadverts.cpp:11:17: error: ‘lt’ was not declared in this scope
11 | int prim(vector<vector<Edge>>& graph, int start) {
| ^~
roadsidea