#3976
Se dă numărul natural nenul n. Să se determine produsul primelor n numere impare.
| Problema | ProdImpare | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64087838 | Utilizator | |
| Fișier | prodimpare.cpp | Dimensiune | 134 B |
| Data încărcării | 16 Aprilie 2026, 11:48 | Scor/rezultat | 0 puncte |
prodimpare.cpp:1:20: warning: extra tokens at end of #include directive 1 | #include <iostream>; | ^ prodimpare.cpp: In function ‘int main()’: prodimpare.cpp:6:1: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 6 | for(i=1;i<=2*n-1;i++) | ^~~ prodimpare.cpp:8:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 8 | cout<<p; | ^~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 2 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 3 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 4 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 5 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 8 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 9 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| 10 | 0.001 secunde | Raspuns gresit. | 10 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ProdImpare 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ă.