Borderou de evaluare (job #2697470)

Utilizator hhhhhhhAndrei Boaca hhhhhhh Data 18 ianuarie 2021 18:07:25
Problema Flux maxim de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int BellmanFord()': main.cpp:32:24: error: 'memset' was not declared in this scope memset(U, 0, sizeof(U)); ^ main.cpp: In function 'int main()': main.cpp:87:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("fmcm.in", "r", stdin); ^ main.cpp:88:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("fmcm.out", "w", stdout); ^ main.cpp:92:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d ", &N, &M, &S, &D); ^ main.cpp:96:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d ", &x, &y, &cap, &z); ^ Non zero exit status: 1

Ceva nu functioneaza?