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 | #56270430 | Utilizator | |
Fișier | estearbore.cpp | Dimensiune | 460 B |
Data încărcării | 12 Februarie 2025, 10:36 | Scor / rezultat | Eroare de compilare |
estearbore.cpp:19:1: error: stray '\302' in program cout<<a [il [jl« ' '; ^ estearbore.cpp:19:1: error: stray '\253' in program estearbore.cpp:20:14: error: stray '\302' in program cout « '\n'; ^ estearbore.cpp:20:14: error: stray '\253' in program estearbore.cpp: In function 'int main()': estearbore.cpp:6:1: error: 'cin' was not declared in this scope cin > n > k; ^ estearbore.cpp:6:1: 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:9:3: error: 'illjl' was not declared in this scope a[illjl = 1; ^ estearbore.cpp:9:12: error: expected ']' before ';' token a[illjl = 1; ^ estearbore.cpp:11:3: error: 'il' was not declared in this scope a[il[il = 0; ^ estearbore.cpp:11:12: error: expected ']' before ';' token a[il[il = 0; ^ estearbore.cpp:11:12: error: expected ']' before ';' token estearbore.cpp:15:3: error: 'il' was not declared in this scope a[il[jl = 0; ^ estearbore.cpp:15:6: error: 'jl' was not declared in this scope a[il[jl = 0; ^ estearbore.cpp:15:12: error: expected ']' before ';' token a[il[jl = 0; ^ estearbore.cpp:15:12: error: expected ']' before ';' token estearbore.cpp:19:1: error: 'cout' was not declared in this scope cout<<a [il [jl« ' '; ^ estearbore.cpp:19:1: 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:19:10: error: 'il' was not declared in this scope cout<<a [il [jl« ' '; ^ estearbore.cpp:19:14: error: 'jl' was not declared in this scope cout<<a [il [jl« ' '; ^ estearbore.cpp:19:19: error: expected ']' before '\x20' cout<<a [il [jl« ' '; ^ estearbore.cpp:19:19: error: expected ']' before '\x20' estearbore.cpp:19:19: error: expected ';' before '\x20' estearbore.cpp:20:14: error: 'cout' was not declared in this scope cout « '\n'; ^ estearbore.cpp:20:14: 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:20:22: error: expected ';' before '\xa' cout « '\n'; ^
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ă.