#376
Se citește un număr natural n. Să se determine suma divizorilor săi.
| Problema | Suma Divizori | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #62117241 | Utilizator | |
| Fișier | suma_divizori.cpp | Dimensiune | 545 B |
| Data încărcării | 09 Ianuarie 2026, 13:55 | Scor/rezultat | Eroare de compilare |
suma_divizori.cpp:1:7: error: expected nested-name-specifier before 'System' using System.Collections.Specialized; ^ suma_divizori.cpp:1:7: error: 'System' has not been declared suma_divizori.cpp:1:13: error: expected ';' before '.' token using System.Collections.Specialized; ^ suma_divizori.cpp:1:13: error: expected unqualified-id before '.' token suma_divizori.cpp:2:7: error: expected nested-name-specifier before 'System' using System.Runtime.InteropServices; ^ suma_divizori.cpp:2:7: error: 'System' has not been declared suma_divizori.cpp:2:13: error: expected ';' before '.' token using System.Runtime.InteropServices; ^ suma_divizori.cpp:2:13: error: expected unqualified-id before '.' token suma_divizori.cpp:3:7: error: expected nested-name-specifier before 'System' using System ^ suma_divizori.cpp:3:7: error: 'System' has not been declared suma_divizori.cpp:5:1: error: expected ';' before 'namespace' namespace test1 ^ suma_divizori.cpp:7:5: error: 'internal' does not name a type internal class Program ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Suma Divizori 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ă.