Borderou de evaluare (job #3260725)
Utilizator | Data | 3 decembrie 2024 15:46:25 | |
---|---|---|---|
Problema | Lowest Common Ancestor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:1: error: ISO C++ forbids declaration of 'dfs' with no type [-fpermissive]
14 | dfs(int node, int parent)
| ^~~
main.cpp: In function 'int dfs(int, int)':
main.cpp:37:1: warning: no return statement in function returning non-void [-Wreturn-type]
37 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !