#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 | #65001715 | Utilizator | |
| Fișier | estearbore.cpp | Dimensiune | 680 B |
| Data încărcării | 10 Iulie 2026, 11:31 | Scor/rezultat | Eroare de compilare |
estearbore.cpp: In function ‘int main()’: estearbore.cpp:19:14: error: ‘x’ was not declared in this scope 19 | fin>>x>>y; | ^ estearbore.cpp:19:17: error: ‘y’ was not declared in this scope 19 | fin>>x>>y; | ^ estearbore.cpp:26:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 26 | for(int i=1;i<=n;i++) | ^~~ estearbore.cpp:29:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 29 | if(nr==n-1 && ok==1) | ^~
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ă.