Borderou de evaluare (job #2696011)
Utilizator | Data | 15 ianuarie 2021 01:28:18 | |
---|---|---|---|
Problema | Croco | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9: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:9: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:69:38: error: incompatible types in assignment of 'int' to 'int [123][123]'
flux = dfs (1, 1000000000);
^
main.cpp:71:20: error: invalid use of non-lvalue array
sol += flux;
^~~~
main.cpp:71:20: error: in evaluation of 'operator+=(int, int [123][123])'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !