Borderou de evaluare (job #2645667)
Utilizator | Data | 29 august 2020 13:34:55 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:20:26: error: 'stodut' was not declared in this scope
freopen("dfs.out", "w", stodut);
^~~~~~
main.cpp:42:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (topEntry.nextIdx != G[topEntry.node].size()) {
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:19:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.in", "r", stdin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !