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