Borderou de evaluare (job #2967761)

Utilizator N.B.Lnabil. N.B.L Data 20 ianuarie 2023 01:43:26
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 maxFlow(int, int)': main.cpp:51:9: error: 'memset' was not declared in this scope 51 | memset(visited, 0, sizeof(visited)); | ^~~~~~ main.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 5 | #include <fstream> +++ |+#include <cstring> 6 | main.cpp:52:45: error: 'INT_MAX' was not declared in this scope 52 | int newflow = getPath(src, sink, 0, INT_MAX); | ^~~~~~~ main.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 5 | #include <fstream> +++ |+#include <climits> 6 | Non zero exit status: 1

Ceva nu functioneaza?