#675
Se dă un arbore binar care conține valori numere naturale. Să se afișeze frunzele acestui arbore.
Notă: pentru reprezentarea arborelui se recomandă alocarea statică, folosind tablouri.
| Problema | BiFrunze | Operații I/O |
bifrunze.in/bifrunze.out
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #63085069 | Utilizator | |
| Fișier | bifrunze.cpp | Dimensiune | 320 B |
| Data încărcării | 13 Februarie 2026, 08:47 | Scor/rezultat | Eroare de compilare |
bifrunze.cpp:5:1: error: stray '\342' in program ifstream in(“bifrunze.in”); ^ bifrunze.cpp:5:1: error: stray '\200' in program bifrunze.cpp:5:1: error: stray '\234' in program bifrunze.cpp:5:1: error: stray '\342' in program bifrunze.cpp:5:1: error: stray '\200' in program bifrunze.cpp:5:1: error: stray '\235' in program bifrunze.cpp:6:1: error: stray '\342' in program ofstream out(“bifrunze.out”); ^ bifrunze.cpp:6:1: error: stray '\200' in program bifrunze.cpp:6:1: error: stray '\234' in program bifrunze.cpp:6:1: error: stray '\342' in program bifrunze.cpp:6:1: error: stray '\200' in program bifrunze.cpp:6:1: error: stray '\235' in program bifrunze.cpp:5:16: error: 'bifrunze' was not declared in this scope ifstream in(“bifrunze.in”); ^ bifrunze.cpp:6:17: error: 'bifrunze' was not declared in this scope ofstream out(“bifrunze.out”); ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema BiFrunze face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.