Borderou de evaluare (job #1202109)

Utilizator Andrei1998Andrei Constantinescu Andrei1998 Data 26 iunie 2014 21:26:58
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool maxflowbfs()’: user.cpp:31:16: error: ‘coada’ was not declared in this scope while(!coada.empty()){ ^ user.cpp:36:32: error: ‘i’ was not declared in this scope for(int maxflowi=1;i<=n;i++) ^ user.cpp:36:35: error: ‘n’ was not declared in this scope for(int maxflowi=1;i<=n;i++) ^ user.cpp:37:20: error: ‘cap’ was not declared in this scope if(cap[maxflowy][maxflowi]) ^ user.cpp:38:25: error: ‘viz’ was not declared in this scope if(!viz[maxflowi]){ ^ user.cpp:40:25: error: ‘tata’ was not declared in this scope tata[maxflowi]=y; ^ user.cpp:40:40: error: ‘y’ was not declared in this scope tata[maxflowi]=y; ^ user.cpp: In function ‘int maxflow()’: user.cpp:50:13: error: ‘n’ was not declared in this scope if(!n) //For stability issues ^ user.cpp:55:32: error: ‘i’ was not declared in this scope for(int maxflowi=1;i<=n;i++) ^ user.cpp:55:35: error: ‘n’ was not declared in this scope for(int maxflowi=1;i<=n;i++) ^ user.cpp:56:20: error: ‘viz’ was not declared in this scope if(viz[i] && cap[i][t]){ ^ user.cpp:56:30: error: ‘cap’ was not declared in this scope if(viz[i] && cap[i][t]){ ^ user.cpp:56:37: error: ‘t’ was not declared in this scope if(viz[i] && cap[i][t]){ ^ user.cpp:61:78: error: ‘nod’ was not declared in this scope maxflowminim=min(maxflowminim,maxflowcap[maxflowtata[nod]][maxflownod]); ^ user.cpp:72:48: error: ‘tata’ was not declared in this scope maxflowcap[maxflownod][tata[maxflownod]]+=maxflowminim; ^ user.cpp: In function ‘int main()’: user.cpp:83:17: error: variable ‘std::ifstream cin’ has initializer but incomplete type ifstream cin("maxflow.in");

Ceva nu functioneaza?