#3333
bookface
Se dau n
numere naturale nenule. Pentru fiecare număr dat a
să se calculeze suma divizorilor lui a
2
.
NeuroN
Problema | bookface | Operații I/O |
bookface.in /bookface.out
|
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #51342479 | Utilizator | |
Fișier | bookface.cpp | Dimensiune | 953 B |
Data încărcării | 09 Iunie 2024, 09:35 | Scor / rezultat | Eroare de compilare |
bookface.cpp:2:2: error: invalid preprocessing directive #inlcude #inlcude <fstream> ^ bookface.cpp:5:11: error: variable 'std::ifstream f' has initializer but incomplete type ifstream f("bookface.in"); ^ bookface.cpp:6:11: error: variable 'std::ofstream g' has initializer but incomplete type ofstream g("bookface.out"); ^ bookface.cpp: In function 'long long int put2(int, int)': bookface.cpp:11:24: error: declaration of 'long long int a' shadows a parameter long long val = 1, a = x; ^ bookface.cpp:11:28: error: 'x' was not declared in this scope long long val = 1, a = x; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema bookface 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ă.