Borderou de evaluare (job #3308782)

Utilizator robigiirimias robert robigi Data 27 august 2025 23:09:47
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void bfs(const std::vector<std::vector<Edge> >&, int, std::vector<std::pair<int, int> >&)': main.cpp:34:14: error: 'sizer_t' was not declared in this scope; did you mean 'size_t'? 34 | for (sizer_t j = 0; j < graph[node].size(); ++j) | ^~~~~~~ | size_t main.cpp:34:50: error: the value of 'node' is not usable in a constant expression 34 | for (sizer_t j = 0; j < graph[node].size(); ++j) | ^ main.cpp:33:13: note: 'int node' is not const 33 | int node = queue[i]; | ^~~~ main.cpp:34:50: error: the value of 'node' is not usable in a constant expression 34 | for (sizer_t j = 0; j < graph[node].size(); ++j) | ^ main.cpp:33:13: note: 'int node' is not const 33 | int node = queue[i]; | ^~~~ main.cpp:34:50: error: the value of 'node' is not usable in a constant expression 34 | for (sizer_t j = 0; j < graph[node].size(); ++j) | ^ main.cpp:33:13: note: 'int node' is not const 33 | int node = queue[i]; | ^~~~ main.cpp:34:50: error: the value of 'node' is not usable in a constant expression 34 | for (sizer_t j = 0; j < graph[node].size(); ++j) | ^ main.cpp:33:13: note: 'int node' is not const 33 | int node = queue[i]; | ^~~~ main.cpp:34:50: error: the value of 'node' is not usable in a constant expression 34 | for (sizer_t j = 0; j < graph[node].size(); ++j) | ^ main.cpp:33:13: note: 'int node' is not const 33 | int node = queue[i]; | ^~~~ main.cpp:34:50: error: the value of 'node' is not usable in a constant expression 34 | for (sizer_t j = 0; j < graph[node].size(); ++j) | ^ main.cpp:33:13: note: 'int node' is not const 33 | int node = queue[i]; | ^~~~ main.cpp:34:50: error: the value of 'node' is not usable in a constant expression 34 | for (sizer_t j = 0; j < graph[node].size(); ++j) | ^ main.cpp:33:13: note: 'int node' is not const 33 | int node = queue[i]; | ^~~~ main.cpp:34:50: error: the value of 'node' is not usable in a constant expression 34 | for (sizer_t j = 0; j < graph[node].size(); ++j) | ^ Non zero exit status: 1

Ceva nu functioneaza?