#3272
Se dau n
numere naturale. Determinați suma divizorilor oglinditelor celor n
numere.
Problema | SumDivOgl | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #58516288 | Utilizator | |
Fișier | sumdivogl.cpp | Dimensiune | 609 B |
Data încărcării | 13 Iunie 2025, 09:27 | Scor / rezultat | 80 puncte |
sumdivogl.cpp: In function 'long long int nrdiv(long long int)': sumdivogl.cpp:10:21: warning: unused variable 'd' [-Wunused-variable] long long p = 0,d = 2,j,aux=0,i; ^ sumdivogl.cpp:10:27: warning: unused variable 'j' [-Wunused-variable] long long p = 0,d = 2,j,aux=0,i; ^ sumdivogl.cpp:10:29: warning: unused variable 'aux' [-Wunused-variable] long long p = 0,d = 2,j,aux=0,i; ^ sumdivogl.cpp: In function 'int main()': sumdivogl.cpp:19:17: warning: unused variable 'b' [-Wunused-variable] long long a,b,nr_maxim,maxim = -1,nr_minim=0; ^ sumdivogl.cpp:19:19: warning: unused variable 'nr_maxim' [-Wunused-variable] long long a,b,nr_maxim,maxim = -1,nr_minim=0; ^ sumdivogl.cpp:19:28: warning: unused variable 'maxim' [-Wunused-variable] long long a,b,nr_maxim,maxim = -1,nr_minim=0; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 20 | 20 | Exemplu | |
2 | 0 secunde | OK. | 20 | 20 | ||
3 | 0.004 secunde | OK. | 20 | 20 | ||
4 | Depășit | Limita de timp depășită | 20 | 0 | ||
5 | 0 secunde | OK. | 20 | 20 | ||
Punctaj total | 80 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema SumDivOgl 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ă.