Problema | NrDivProd | Operații I/O |
nrdivprod.in /nrdivprod.out
|
---|---|---|---|
Limita timp | 0.2 secunde | Limita memorie |
Total: 64 MB
/
Stivă 64 MB
|
Id soluție | #23624717 | Utilizator | |
Fișier | nrdivprod.cpp | Dimensiune | 1.75 KB |
Data încărcării | 06 August 2020, 18:57 | Scor / rezultat | 5 puncte |
nrdivprod.cpp: In function 'int main()': nrdivprod.cpp:77:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nrdivprod.in", "r", stdin); ^ nrdivprod.cpp:94:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nrdivprod.out", "w", stdout); ^ nrdivprod.cpp:79:24: warning: 'n' is used uninitialized in this function [-Wuninitialized] int n = something(n); ^ nrdivprod.cpp:83:30: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized] int nr = something(nr); ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 5 | 5 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
5 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
6 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
7 | 0.004 secunde | Raspuns gresit. | 10 | 0 | ||
8 | 0.008 secunde | Raspuns gresit. | 10 | 0 | ||
9 | 0.032 secunde | Raspuns gresit. | 10 | 0 | ||
10 | Depășit | Limita de timp depășită | 15 | 0 | ||
Punctaj total | 5 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema NrDivProd 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ă.