Borderou de evaluare (job #3325464)

Utilizator AlinIacob13Alin-Ovidiu Iacob AlinIacob13 Data 25 noiembrie 2025 15:11:39
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:64:8: error: 'vector' was not declared in this scope 64 | vector<vector<int>>dist; | ^~~~~~ main.cpp:58:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? 57 | #include <fstream> +++ |+#include <vector> 58 | using namespace std; main.cpp:64:8: error: 'vector' was not declared in this scope 64 | vector<vector<int>>dist; | ^~~~~~ main.cpp:64:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:64:8: error: 'vector' was not declared in this scope main.cpp:64:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:64:8: error: 'vector' was not declared in this scope main.cpp:64:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:64:8: error: 'vector' was not declared in this scope main.cpp:64:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:64:8: error: 'vector' was not declared in this scope main.cpp:64:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:64:8: error: 'vector' was not declared in this scope main.cpp:64:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:64:8: error: 'vector' was not declared in this scope main.cpp:64:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:64:8: error: 'vector' was not declared in this scope main.cpp:64:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:64:1: error: 'vector' does not name a type 64 | vector<vector<int>>dist; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:68:5: error: 'dist' was not declared in this scope 68 | dist.resize(n,vector<int>(n,inf)); | ^~~~ main.cpp:68:19: error: 'vector' was not declared in this scope 68 | dist.resize(n,vector<int>(n,inf)); | ^~~~~~~~~~~ main.cpp:68:19: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? Non zero exit status: 1

Ceva nu functioneaza?