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 | #50653759 | Utilizator | |
Fișier | estearbore.cpp | Dimensiune | 911 B |
Data încărcării | 18 Aprilie 2024, 17:54 | Scor / rezultat | Eroare de compilare |
estearbore.cpp: In function 'void BFS(int, int&)': estearbore.cpp:3:5: error: 'st' was not declared in this scope st = 1; ^ estearbore.cpp:4:5: error: 'dr' was not declared in this scope dr = 1; ^ estearbore.cpp:5:5: error: 'coada' was not declared in this scope coada[st]=nod; ^ estearbore.cpp:6:5: error: 'viz' was not declared in this scope viz[nod]=-1; ^ estearbore.cpp:10:13: error: 'i' was not declared in this scope for(i=1;i<=n;i++) ^ estearbore.cpp:10:20: error: 'n' was not declared in this scope for(i=1;i<=n;i++) ^ estearbore.cpp:12:16: error: 'matrix' was not declared in this scope if(matrix[nod][i]==1) ^ estearbore.cpp: In function 'int main()': estearbore.cpp:33:12: error: 'citire' was not declared in this scope citire(); ^ estearbore.cpp:34:12: error: 'ok' was not declared in this scope BFS(1, ok); ^ estearbore.cpp:39:13: error: 'i' was not declared in this scope for(i=1;i<=n;i++) ^ estearbore.cpp:39:20: error: 'n' was not declared in this scope for(i=1;i<=n;i++) ^ estearbore.cpp:40:13: error: 'viz' was not declared in this scope if(viz[i]==0) ^ estearbore.cpp:42:13: error: 'g' was not declared in this scope g<<"NU"; ^ estearbore.cpp:45:9: error: 'g' was not declared in this scope g<<"DA"; ^ estearbore.cpp:48:9: error: 'g' was not declared in this scope g<<"NU"; ^
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ă.