#2420
Se consideră următorul șir de numere naturale: 1 3 5 8 10 14 16..., în care termenul de pe poziția i (i > 1) este egal cu cel precedent plus numărul de divizori ai lui i. Afișați al n-lea termen.
Imaginatie personala
| Problema | EasyRow | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 0.1 MB
/
Stivă 0.1 MB
|
| Id soluție | #64867211 | Utilizator | |
| Fișier | easyrow.cpp | Dimensiune | 293 B |
| Data încărcării | 08 Iunie 2026, 13:56 | Scor/rezultat | 0 puncte |
easyrow.cpp: In function ‘int main()’: easyrow.cpp:6:17: warning: unused variable ‘a’ [-Wunused-variable] 6 | long long x,a,b,t,aux,cifra,ogl,c=0,k,i,d; | ^ easyrow.cpp:6:19: warning: unused variable ‘b’ [-Wunused-variable] 6 | long long x,a,b,t,aux,cifra,ogl,c=0,k,i,d; | ^ easyrow.cpp:6:21: warning: unused variable ‘t’ [-Wunused-variable] 6 | long long x,a,b,t,aux,cifra,ogl,c=0,k,i,d; | ^ easyrow.cpp:6:23: warning: unused variable ‘aux’ [-Wunused-variable] 6 | long long x,a,b,t,aux,cifra,ogl,c=0,k,i,d; | ^~~ easyrow.cpp:6:27: warning: unused variable ‘cifra’ [-Wunused-variable] 6 | long long x,a,b,t,aux,cifra,ogl,c=0,k,i,d; | ^~~~~ easyrow.cpp:6:33: warning: unused variable ‘ogl’ [-Wunused-variable] 6 | long long x,a,b,t,aux,cifra,ogl,c=0,k,i,d; | ^~~
| 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.005 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0.013 secunde | Raspuns gresit. | 10 | 0 | ||
| 7 | 0.038 secunde | Raspuns gresit. | 10 | 0 | ||
| 8 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 9 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 10 | Depășit | Limita de timp depășită | 10 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema EasyRow 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ă.