Borderou de evaluare (job #1625176)

Utilizator svlad2Scurtu Vlad svlad2 Data 2 martie 2016 17:15:42
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int vecin(int)’: user.cpp:19:10: error: ‘c’ was not declared in this scope if(c[p->inf]==-1)return p->inf; ^ user.cpp: In function ‘void construire()’: user.cpp:31:12: error: ‘c’ was not declared in this scope {c[i]=k; ^ user.cpp: In function ‘int dfs(int)’: user.cpp:44:23: error: ‘c’ was not declared in this scope if(viz[k]||c[i]==k) goto blabla; ^ user.cpp:45:15: error: ‘c’ was not declared in this scope if(c[k]==-1) ^ user.cpp:37:9: warning: unused variable ‘j’ [-Wunused-variable] int j,k; ^ user.cpp: In function ‘int main()’: user.cpp:73:22: error: ‘c’ was not declared in this scope for(i=1;i<=n;i++)c[i]=-1; ^ user.cpp:79:21: error: ‘adauga’ was not declared in this scope adauga(x,y); ^ user.cpp:88:28: error: ‘c’ was not declared in this scope if(viz[i]==0&&c[i]==-1) ^ user.cpp:91:26: error: ‘c’ was not declared in this scope for(i=1;i<=na;i++)if(c[i]!=-1)nr++; ^ user.cpp:94:11: error: ‘c’ was not declared in this scope if(c[i]!=-1) ^ user.cpp:69:15: warning: unused variable ‘j’ [-Wunused-variable] int x,y,i,j,ok=1,nr=0; ^ user.cpp:70:10: warning: unused variable ‘p’ [-Wunused-variable] nod *p; ^

Ceva nu functioneaza?