Borderou de evaluare (job #2189468)

Utilizator aIexpetrescuPetrescu Alexandru aIexpetrescu Data 28 martie 2018 13:09:20
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:14:6: error: ‘vector’ in namespace ‘std’ does not name a template type std::vector<std::vector<int>> sol; ^~~~~~ user.cpp:15:6: error: ‘vector’ in namespace ‘std’ does not name a template type std::vector<int> partial_sol; ^~~~~~ user.cpp: In function ‘int main()’: user.cpp:40:25: error: ‘sol’ was not declared in this scope fprintf(fout,"%d\n",sol.size()); ^~~ user.cpp: In function ‘void dfs(int)’: user.cpp:68:17: error: ‘partial_sol’ was not declared in this scope partial_sol.clear(); ^~~~~~~~~~~ user.cpp:80:17: error: ‘sol’ was not declared in this scope sol.push_back(partial_sol); ^~~ user.cpp: In function ‘int main()’: user.cpp:26:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&V,&E); ^ user.cpp:31:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&x,&y); ^

Ceva nu functioneaza?