#675
BiFrunze
Se dă un arbore binar care conține valori numere naturale. Să se afișeze frunzele acestui arbore.
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 | #50306287 | Utilizator | |
Fișier | bifrunze.cpp | Dimensiune | 288 B |
Data încărcării | 03 Aprilie 2024, 23:37 | Scor / rezultat | Eroare de compilare |
bifrunze.cpp:4:1: error: stray '\342' in program ifstream f(“bifrunze.in”); ^ bifrunze.cpp:4:1: error: stray '\200' in program bifrunze.cpp:4:1: error: stray '\234' in program bifrunze.cpp:4:1: error: stray '\342' in program bifrunze.cpp:4:1: error: stray '\200' in program bifrunze.cpp:4:1: error: stray '\235' in program bifrunze.cpp:5:1: error: stray '\342' in program ofstream g(“bifrunze.out”); ^ 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:14:13: error: stray '\342' in program g<<i<<‘ ‘; ^ bifrunze.cpp:14:13: error: stray '\200' in program bifrunze.cpp:14:13: error: stray '\230' in program bifrunze.cpp:14:13: error: stray '\342' in program bifrunze.cpp:14:13: error: stray '\200' in program bifrunze.cpp:14:13: error: stray '\230' in program bifrunze.cpp:4:15: error: 'bifrunze' was not declared in this scope ifstream f(“bifrunze.in”); ^ bifrunze.cpp:5:15: error: 'bifrunze' was not declared in this scope ofstream g(“bifrunze.out”); ^ bifrunze.cpp: In function 'int main()': bifrunze.cpp:14:26: error: expected primary-expression before ';' token g<<i<<‘ ‘; ^
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ă.