Borderou de evaluare (job #2359333)

Utilizator valentin12Valentin Ion Semen valentin12 Data 28 februarie 2019 19:41:05
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:11: error: variable 'std::ifstream f' has initializer but incomplete type ifstream f("ctc.in"); ^ main.cpp:6:11: error: variable 'std::ofstream g' has initializer but incomplete type ofstream g("ctc.out"); ^ main.cpp:7:1: error: 'vector' does not name a type vector <int> G[nmax],GT[nmax],sol2[nmax]; ^~~~~~ main.cpp: In function 'void cit()': main.cpp:14:1: error: 'G' was not declared in this scope G[x].push_back(y); ^ main.cpp:15:1: error: 'GT' was not declared in this scope GT[y].push_back(x) ^~ main.cpp: In function 'void DFSP(int)': main.cpp:22:25: error: 'G' was not declared in this scope for(unsigned int i=0;i<G[nod].size();i++) ^ main.cpp: In function 'void DFSM(int)': main.cpp:33:2: error: 'sol2' was not declared in this scope sol2[nrCTC].push_back(Nod); ^~~~ main.cpp:33:24: error: 'Nod' was not declared in this scope sol2[nrCTC].push_back(Nod); ^~~ main.cpp:35:25: error: 'GT' was not declared in this scope for(unsigned int i=0;i<GT[nod].size();i++) ^~ main.cpp: In function 'void print()': main.cpp:63:26: error: 'sol2' was not declared in this scope {for(unsigned int j=0;j<sol2[i].size();j++) ^~~~ Non zero exit status: 1

Ceva nu functioneaza?