#4204
| 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 | #64374973 | Utilizator | |
| Fișier | estearbore.cpp | Dimensiune | 550 B |
| Data încărcării | 04 Mai 2026, 10:50 | Scor/rezultat | Eroare de compilare |
estearbore.cpp:13:1: error: expected initializer before ‘viz’ 13 | viz[nod]=true; | ^~~ estearbore.cpp:14:1: error: expected unqualified-id before ‘for’ 14 | for(int i=1; i<=n; i++) | ^~~ estearbore.cpp:14:14: error: ‘i’ does not name a type 14 | for(int i=1; i<=n; i++) | ^ estearbore.cpp:14:20: error: ‘i’ does not name a type 14 | for(int i=1; i<=n; i++) | ^ estearbore.cpp: In function ‘int main()’: estearbore.cpp:23:14: error: expected ‘;’ before ‘m’ 23 | a[y][x]=1 | ^ | ; 24 | m++; | ~ estearbore.cpp:31:1: error: ‘dfs’ was not declared in this scope 31 | dfs(1); | ^~~ estearbore.cpp:36:13: error: expected ‘;’ before ‘:’ token 36 | return 0: | ^ | ; estearbore.cpp:36:13: error: expected primary-expression before ‘:’ token
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ă.