Problema | Sort4 | Operații I/O |
sort4.in /sort4.out
|
---|---|---|---|
Limita timp | 0.37 secunde | Limita memorie |
Total: 37 MB
/
Stivă 37 MB
|
Id soluție | #50616666 | Utilizator | |
Fișier | sort4.cpp | Dimensiune | 1.60 KB |
Data încărcării | 17 Aprilie 2024, 11:53 | Scor / rezultat | 0 puncte |
sort4.cpp: In function 'int frecv(int)': sort4.cpp:23:10: warning: statement has no effect [-Wunused-value] for(i; i<10; i++) ^ sort4.cpp: In function 'void sortare(datan*, int)': sort4.cpp:69:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] else if(d[i].s==d[j].s) ^ sort4.cpp:66:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] else if(d[i].fr==d[j].fr) ^ sort4.cpp: In function 'int prodcif(int)': sort4.cpp:47:21: warning: 'prod' may be used uninitialized in this function [-Wmaybe-uninitialized] prod *= n%10; ^ sort4.cpp: In function 'void citeste(datan&)': sort4.cpp:47:21: warning: 'prod' may be used uninitialized in this function [-Wmaybe-uninitialized] sort4.cpp:44:9: note: 'prod' was declared here int prod; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
2 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
3 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
4 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
5 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
6 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
7 | 0 secunde | Caught fatal signal 11 | 10 | 0 | ||
8 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
9 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
10 | 0 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Sort4 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ă.