Borderou de evaluare (job #2003213)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 22 iulie 2017 12:14:47
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<G[u].size();++j) ^ user.cpp: In function ‘int main()’: user.cpp:27:9: error: ‘x’ was not declared in this scope in>>x>>y; ^ user.cpp:27:12: error: ‘y’ was not declared in this scope in>>x>>y; ^ user.cpp:31:3: error: ‘cc’ was not declared in this scope cc=0; ^

Ceva nu functioneaza?