Borderou de evaluare (job #990327)

Utilizator classiusCobuz Andrei classius Data 27 august 2013 22:43:28
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool bfs(int*, int*)’: user.cpp:22:5: error: ‘q’ was not declared in this scope q.push(1); ^ user.cpp:28:36: error: ‘n’ was not declared in this scope if(!ok[uv]&&flw>0&&uv!=n){ ^ user.cpp:33:20: error: ‘n’ was not declared in this scope if(uv==n&&flw>0){ ^ user.cpp:40:15: error: ‘n’ was not declared in this scope return ok[n]; ^ user.cpp: In function ‘int main()’: user.cpp:58:9: warning: unused variable ‘s’ [-Wunused-variable] int s=0; ^ user.cpp: In function ‘bool bfs(int*, int*)’: user.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?