Borderou de evaluare (job #3154426)

Utilizator Fantastic_Mantudor voicu Fantastic_Man Data 4 octombrie 2023 17:41:15
Problema Gardening Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:10: error: 'vector' was not declared in this scope 5 | vector < vector < int > > a; | ^~~~~~ main.cpp:2:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? 1 | #include <fstream> +++ |+#include <vector> 2 | main.cpp:5:10: error: 'vector' was not declared in this scope 5 | vector < vector < int > > a; | ^~~~~~ main.cpp:5:10: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:5:10: error: 'vector' was not declared in this scope main.cpp:5:10: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:5:10: error: 'vector' was not declared in this scope main.cpp:5:10: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:5:10: error: 'vector' was not declared in this scope main.cpp:5:10: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:5:10: error: 'vector' was not declared in this scope main.cpp:5:10: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:5:10: error: 'vector' was not declared in this scope main.cpp:5:10: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:5:10: error: 'vector' was not declared in this scope main.cpp:5:10: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:5:10: error: 'vector' was not declared in this scope main.cpp:5:10: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:5:1: error: 'vector' does not name a type 5 | vector < vector < int > > a; | ^~~~~~ main.cpp:20:66: error: 'vector' was not declared in this scope 20 | int solve (int n, int m, int k, int x, int y, int elem, vector < vector < int > > &a) { | ^~~~~~ main.cpp:20:66: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:20:66: error: 'vector' was not declared in this scope main.cpp:20:66: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:20:66: error: 'vector' was not declared in this scope main.cpp:20:66: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:20:66: error: 'vector' was not declared in this scope main.cpp:20:66: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'? main.cpp:20:57: error: 'vector' has not been declared 20 | int solve (int n, int m, int k, int x, int y, int elem, vector < vector < int > > &a) { | ^~~~~~ main.cpp:20:64: error: expected ',' or '...' before '<' token 20 | int solve (int n, int m, int k, int x, int y, int elem, vector < vector < int > > &a) { | ^ main.cpp: In function 'int solve(int, int, int, int, int, int, int)': main.cpp:26:17: error: 'a' was not declared in this scope 26 | a[i][j] = a[i][j + 1] = a[i + 1][j] = a[i + 1][j + 1] = (++elem); | ^ main.cpp:31:61: error: 'a' was not declared in this scope 31 | solve (n - 2, m - 2, k - 1, elem + 1, x + 1, y + 1, a)) { Non zero exit status: 1

Ceva nu functioneaza?