Borderou de evaluare (job #2955293)
Utilizator | Data | 16 decembrie 2022 18:29:36 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs2(int)':
main.cpp:28:5: error: 'vf' was not declared in this scope
28 | vf[ct].push_back(nod);
| ^~
main.cpp: In function 'int main()':
main.cpp:54:15: error: cannot convert 'std::stack<int>::empty' from type 'bool (std::stack<int>::)() const' to type 'bool'
54 | while(!st.empty)
| ^~~~~
main.cpp:54:15: error: in argument to unary !
54 | while(!st.empty)
| ~~~^~~~~
main.cpp:64:20: error: 'vf' was not declared in this scope
64 | for(auto j:vf[i])
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !