#3272
SumDivOgl
Se dau n
numere naturale. Determinați suma divizorilor oglinditelor celor n
numere.
Problema | SumDivOgl | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #26803023 | Utilizator | |
Fișier | sumdivogl.cpp | Dimensiune | 650 B |
Data încărcării | 16 Decembrie 2020, 21:18 | Scor / rezultat | 100 puncte |
sumdivogl.cpp: In function 'long long int oglindit(long long int)': sumdivogl.cpp:13:12: warning: 'inv' may be used uninitialized in this function [-Wmaybe-uninitialized] return inv; ^ sumdivogl.cpp: In function 'int main()': sumdivogl.cpp:20:13: warning: 'inv' may be used uninitialized in this function [-Wmaybe-uninitialized] if(n%i==0) ^ sumdivogl.cpp:7:9: note: 'inv' was declared here int inv; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 20 | 20 | Exemplu | |
2 | 0 secunde | OK. | 20 | 20 | ||
3 | 0 secunde | OK. | 20 | 20 | ||
4 | 0.072 secunde | OK. | 20 | 20 | ||
5 | 0 secunde | OK. | 20 | 20 | ||
Punctaj total | 100 |
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ă.