Borderou de evaluare (job #3286664)
Utilizator | Data | 14 martie 2025 15:06:15 | |
---|---|---|---|
Problema | Diametrul unui arbore | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:16:8: error: ISO C++ forbids declaration of 'bfs' with no type [-fpermissive]
16 | inline bfs(int start)
| ^~~
main.cpp: In function 'int bfs(int)':
main.cpp:45:1: warning: no return statement in function returning non-void [-Wreturn-type]
45 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !