Borderou de evaluare (job #2810056)

Utilizator worstbyteelev gigel worstbyte Data 28 noiembrie 2021 12:47:31
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int BF()': main.cpp:51:2: error: 'memset' was not declared in this scope 51 | memset(viz, 0, sizeof(viz)); | ^~~~~~ main.cpp:5:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 4 | #include <string> +++ |+#include <cstring> 5 | main.cpp:65:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | for (j = 0; j < G[nod].sz; j++) | ^ main.cpp: In function 'int main()': main.cpp:127:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 127 | for (i = 0; i < G[N].sz; i++) | ^ Non zero exit status: 1

Ceva nu functioneaza?