Borderou de evaluare (job #2961194)

Utilizator lucianul31Moisii Lucian lucianul31 Data 5 ianuarie 2023 23:17:18
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:7:1: error: 'FILE' does not name a type 7 | FILE *out, *in; | ^~~~ main.cpp:4:1: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? 3 | #include <string.h> +++ |+#include <cstdio> 4 | main.cpp: In function 'int main()': main.cpp:73:5: error: 'in' was not declared in this scope; did you mean 'int'? 73 | in = fopen("cuplaj.in", "r"); | ^~ | int main.cpp:73:10: error: 'fopen' was not declared in this scope 73 | in = fopen("cuplaj.in", "r"); | ^~~~~ main.cpp:73:10: note: 'fopen' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? main.cpp:74:5: error: 'out' was not declared in this scope 74 | out = fopen("cuplaj.out", "w"); | ^~~ main.cpp:76:5: error: 'fscanf' was not declared in this scope 76 | fscanf(in, "%d %d %d", &N, &M, &E); | ^~~~~~ main.cpp:90:5: error: 'fprintf' was not declared in this scope 90 | fprintf(out, "%d\n", TotalFlow); | ^~~~~~~ main.cpp:98:5: error: 'fclose' was not declared in this scope 98 | fclose(in); | ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?