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 | #49392874 | Utilizator | |
Fișier | estearbore.cpp | Dimensiune | 573 B |
Data încărcării | 28 Februarie 2024, 18:24 | Scor / rezultat | 90 puncte |
estearbore.cpp: In function 'void df(int)': estearbore.cpp:10:59: warning: pointer to a function used in arithmetic [-Wpointer-arith] for(int i=1;i<=n;i++) if(a[x][i]==1 && viz[x]==0) df[i]; ^ estearbore.cpp:10:59: warning: value computed is not used [-Wunused-value] estearbore.cpp:10:59: warning: statement has no effect [-Wunused-value] estearbore.cpp: In function 'int main()': estearbore.cpp:22:33: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] for(int i;i<=n;i++) if(viz[i]==0) {x=i;break;} ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 10 | 10 | Exemplu | |
2 | 0 secunde | OK. | 10 | 10 | ||
3 | 0 secunde | OK. | 10 | 10 | ||
4 | 0 secunde | OK. | 10 | 10 | ||
5 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
6 | 0 secunde | OK. | 10 | 10 | ||
7 | 0 secunde | OK. | 10 | 10 | ||
8 | 0 secunde | OK. | 10 | 10 | ||
9 | 0 secunde | OK. | 10 | 10 | ||
10 | 0 secunde | OK. | 10 | 10 | ||
Punctaj total | 90 |
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ă.