Borderou de evaluare (job #2762984)
Utilizator | Data | 10 iulie 2021 19:16:18 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:11: error: expected unqualified-id before string constant
ifstream ("dfs.in");
^~~~~~~~
main.cpp:7:11: error: expected ')' before string constant
main.cpp:8:11: error: expected unqualified-id before string constant
ofstream ("dfs.out");
^~~~~~~~~
main.cpp:8:11: error: expected ')' before string constant
main.cpp: In function 'void DFS(int)':
main.cpp:17:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < Vertices[Vertex].size(); i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:30:5: error: 'f' was not declared in this scope
f >> n >> m;
^
main.cpp:46:5: error: 'g' was not declared in this scope
g << insule;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !