Problema | esteArbore | Operații I/O |
estearbore.in /estearbore.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #55058396 | Utilizator | |
Fișier | estearbore.cpp | Dimensiune | 666 B |
Data încărcării | 19 Decembrie 2024, 10:27 | Scor / rezultat | Eroare de compilare |
estearbore.cpp:4:1: error: 'ifstream' does not name a type ifstream cin("estearbore.in"); ^ estearbore.cpp:5:1: error: 'ofstream' does not name a type ofstream cout("estearbore.out"); ^ estearbore.cpp: In function 'int main()': estearbore.cpp:16:5: error: 'cin' was not declared in this scope cin>>n; ^ estearbore.cpp:16:5: note: suggested alternative: In file included from estearbore.cpp:1:0: /usr/include/c++/4.8/iostream:60:18: note: 'std::cin' extern istream cin; /// Linked to standard input ^ estearbore.cpp:25:9: error: 'cout' was not declared in this scope cout<<"NU"; ^ estearbore.cpp:25:9: note: suggested alternative: In file included from estearbore.cpp:1:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^ estearbore.cpp:32:17: error: 'cout' was not declared in this scope cout<<"NU"; ^ estearbore.cpp:32:17: note: suggested alternative: In file included from estearbore.cpp:1:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^ estearbore.cpp:35:5: error: 'cout' was not declared in this scope cout<<"DA"; ^ estearbore.cpp:35:5: note: suggested alternative: In file included from estearbore.cpp:1:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema esteArbore 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ă.