Borderou de evaluare (job #3362970)

Utilizator Nasa1004Ema Nicole Gheorghe Nasa1004 Data 13 august 2026 11:30:34
Problema Friend of Friend Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:9: error: 'vector' was not declared in this scope 10 | vector <vector <int>> v; | ^~~~~~ main.cpp:3:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? 2 | #include <algorithm> +++ |+#include <vector> 3 | main.cpp:10:9: error: 'vector' was not declared in this scope 10 | vector <vector <int>> v; | ^~~~~~ main.cpp:10:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:10:9: error: 'vector' was not declared in this scope main.cpp:10:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:10:9: error: 'vector' was not declared in this scope main.cpp:10:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:10:9: error: 'vector' was not declared in this scope main.cpp:10:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:10:9: error: 'vector' was not declared in this scope main.cpp:10:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:10:9: error: 'vector' was not declared in this scope main.cpp:10:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:10:9: error: 'vector' was not declared in this scope main.cpp:10:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:10:9: error: 'vector' was not declared in this scope main.cpp:10:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:10:1: error: 'vector' does not name a type 10 | vector <vector <int>> v; | ^~~~~~ main.cpp:11:1: error: 'vector' does not name a type 11 | vector <int> ord; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:27:5: error: 'v' was not declared in this scope 27 | v.resize(n + 1); | ^ main.cpp:43:24: error: 'b' was not declared in this scope 43 | ans[a][b]++; | ^ main.cpp:51:9: error: 'ord' was not declared in this scope 51 | ord.clear(); | ^~~ Non zero exit status: 1

Ceva nu functioneaza?