#3270
Se citește un număr natural n. Să se determine suma divizorilor pari ai săi.
| Problema | Suma Divizorilor Pari | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #60496212 | Utilizator | |
| Fișier | suma_divizorilor_pari.cs | Dimensiune | 554 B |
| Data încărcării | 03 Noiembrie 2025, 15:58 | Scor/rezultat | Eroare de compilare |
Compilation failed: 3 error(s), 0 warnings suma_divizorilor_pari.cs(17,29): error CS0019: Operator \`<=' cannot be applied to operands of type \`int' and \`ulong' suma_divizorilor_pari.cs(18,21): error CS0019: Operator \`%' cannot be applied to operands of type \`ulong' and \`int' suma_divizorilor_pari.cs(19,21): error CS0019: Operator \`+=' cannot be applied to operands of type \`ulong' and \`int'
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Suma Divizorilor Pari 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ă.