Borderou de evaluare (job #2695961)

Utilizator robertnanu_fmiNanu Robert-Ionut robertnanu_fmi Data 14 ianuarie 2021 23:33:21
Problema Croco Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:12:52: error: conflicting declaration 'int flux' int d[nmax], c[nmax][nmax], flux[nmax][nmax], var, flux, sol, n, m, st, dr, cs, nod, x, S; ^~~~ main.cpp:12:29: note: previous declaration as 'int flux [123][123]' int d[nmax], c[nmax][nmax], flux[nmax][nmax], var, flux, sol, n, m, st, dr, cs, nod, x, S; ^~~~ main.cpp: In function 'int MaxFlow()': main.cpp:75:38: error: incompatible types in assignment of 'int' to 'int [123][123]' flux = dfs (1, 1000000000); ^ main.cpp:78:20: error: invalid use of non-lvalue array sol += flux; ^~~~ main.cpp:78:20: error: in evaluation of 'operator+=(int, int [123][123])' Non zero exit status: 1

Ceva nu functioneaza?