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 | #50945580 | Utilizator | |
Fișier | estearbore.cpp | Dimensiune | 706 B |
Data încărcării | 15 Mai 2024, 12:48 | Scor / rezultat | Eroare de compilare |
estearbore.cpp:4:32: warning: missing terminating ' character [enabled by default] ofstream fout("estearbore.out")'; ^ estearbore.cpp:4:1: error: missing terminating ' character ofstream fout("estearbore.out")'; ^ estearbore.cpp:5:1: error: expected ',' or ';' before 'int' int viz[101],a[101][101],n,m; ^ estearbore.cpp: In function 'void verifconex(int)': estearbore.cpp:8:5: error: 'viz' was not declared in this scope viz[x]=1; ^ estearbore.cpp:9:20: error: 'n' was not declared in this scope for(int i=1;i<=n;i++) ^ estearbore.cpp:10:12: error: 'a' was not declared in this scope if(a[i][x]==1 && viz[i]==0) ^ estearbore.cpp: In function 'int main()': estearbore.cpp:18:10: error: 'n' was not declared in this scope fin>>n; ^ estearbore.cpp:21:9: error: 'a' was not declared in this scope a[x][y]=1; ^ estearbore.cpp:27:12: error: 'a' was not declared in this scope if(a[i][j]==1) ^ estearbore.cpp:31:12: error: 'viz' was not declared in this scope if(viz[i]==0) ^
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ă.