Borderou de evaluare (job #2922102)
Utilizator | Data | 3 septembrie 2022 22:29:05 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:19:8: error: ISO C++ forbids declaration of 'parent' with no type [-fpermissive]
19 | inline parent(int x){return (x-1)/2;}
| ^~~~~~
main.cpp:20:8: error: ISO C++ forbids declaration of 'leftc' with no type [-fpermissive]
20 | inline leftc(int x){return x*2+1;}
| ^~~~~
main.cpp:21:8: error: ISO C++ forbids declaration of 'rightc' with no type [-fpermissive]
21 | inline rightc(int x){return x*2+2;}
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !