#47
SumaPatrate
Să se scrie un program care citește numărul natural n
și determină suma primelor n
pătrate perfecte nenule.
Problema | SumaPatrate | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #55079506 | Utilizator | |
Fișier | sumapatrate.cpp | Dimensiune | 1.26 KB |
Data încărcării | 21 Decembrie 2024, 09:22 | Scor / rezultat | Eroare de compilare |
sumapatrate.cpp:3:1: error: stray '\305' in program Soluţii ^ sumapatrate.cpp:3:1: error: stray '\243' in program sumapatrate.cpp:7:1: error: stray '\305' in program Acest site foloseşte cookies. Navigând în continuare, vă exprimaţi acordul asupra folosirii cookie-urilor. ^ sumapatrate.cpp:7:1: error: stray '\237' in program sumapatrate.cpp:7:1: error: stray '\303' in program sumapatrate.cpp:7:1: error: stray '\242' in program sumapatrate.cpp:7:1: error: stray '\303' in program sumapatrate.cpp:7:1: error: stray '\256' in program sumapatrate.cpp:7:1: error: stray '\304' in program sumapatrate.cpp:7:1: error: stray '\203' in program sumapatrate.cpp:7:1: error: stray '\305' in program sumapatrate.cpp:7:1: error: stray '\243' in program sumapatrate.cpp:8:1: error: stray '\304' in program Postată de Clasa Intrare/ieșire Limită timp Limită memorie Sursa problemei Autor Dificultate Scorul tău ^ sumapatrate.cpp:8:1: error: stray '\203' in program sumapatrate.cpp:8:1: error: stray '\310' in program sumapatrate.cpp:8:1: error: stray '\231' in program sumapatrate.cpp:8:1: error: stray '\304' in program sumapatrate.cpp:8:1: error: stray '\203' in program sumapatrate.cpp:8:1: error: stray '\304' in program sumapatrate.cpp:8:1: error: stray '\203' in program sumapatrate.cpp:8:1: error: stray '\304' in program sumapatrate.cpp:8:1: error: stray '\203' in program sumapatrate.cpp:9:2: error: stray '\304' in program Candale Silviu (silviu) 9 tastatură / ecran 0.1 secunde 64 MB / 8 MB ^ sumapatrate.cpp:9:2: error: stray '\203' in program sumapatrate.cpp:12:1: error: stray '\310' in program ușoară ^ sumapatrate.cpp:12:1: error: stray '\231' in program sumapatrate.cpp:12:1: error: stray '\304' in program sumapatrate.cpp:12:1: error: stray '\203' in program sumapatrate.cpp:14:5: error: "SumaPatrate" is not a valid filename #47 SumaPatrate ^ sumapatrate.cpp:15:1: error: stray '\304' in program Clasa a 9-a Algoritmi elementari Sume, produse, numărări SumaPatrate ^ sumapatrate.cpp:15:1: error: stray '\203' in program sumapatrate.cpp:15:1: error: stray '\304' in program sumapatrate.cpp:15:1: error: stray '\203' in program sumapatrate.cpp:16:1: error: stray '\304' in program Etichete: nicio etichetă ^ sumapatrate.cpp:16:1: error: stray '\203' in program sumapatrate.cpp:18:1: error: stray '\342' in program Tema suma / produs / numarare • Clasa: 5 Excelenta ^ sumapatrate.cpp:18:1: error: stray '\200' in program sumapatrate.cpp:18:1: error: stray '\242' in program sumapatrate.cpp:20:1: error: stray '\310' in program Enunț ^ sumapatrate.cpp:20:1: error: stray '\233' in program sumapatrate.cpp:22:1: error: stray '\310' in program Soluții ^ sumapatrate.cpp:22:1: error: stray '\233' in program sumapatrate.cpp:23:1: error: stray '\305' in program Cerinţa ^ sumapatrate.cpp:23:1: error: stray '\243' in program sumapatrate.cpp:24:1: error: stray '\304' in program Să se scrie un program care citește numărul natural n și determină suma primelor n pătrate perfecte nenule. ^ sumapatrate.cpp:24:1: error: stray '\203' in program sumapatrate.cpp:24:1: error: stray '\310' in program sumapatrate.cpp:24:1: error: stray '\231' in program sumapatrate.cpp:24:1: error: stray '\304' in program sumapatrate.cpp:24:1: error: stray '\203' in program sumapatrate.cpp:24:1: error: stray '\310' in program sumapatrate.cpp:24:1: error: stray '\231' in program sumapatrate.cpp:24:1: error: stray '\304' in program sumapatrate.cpp:24:1: error: stray '\203' in program sumapatrate.cpp:24:1: error: stray '\304' in program sumapatrate.cpp:24:1: error: stray '\203' in program sumapatrate.cpp:28:1: error: stray '\310' in program Programul citește de la tastatură numărul n. ^ sumapatrate.cpp:28:1: error: stray '\231' in program sumapatrate.cpp:28:1: error: stray '\304' in program sumapatrate.cpp:28:1: error: stray '\203' in program sumapatrate.cpp:28:1: error: stray '\304' in program sumapatrate.cpp:28:1: error: stray '\203' in program sumapatrate.cpp:30:1: error: stray '\305' in program Date de ieşire ^ sumapatrate.cpp:30:1: error: stray '\237' in program sumapatrate.cpp:31:1: error: stray '\310' in program Programul afișează pe prima linie a ecranului mesajul Rezultatul este S, unde S reprezintă suma calculată. ^ sumapatrate.cpp:31:1: error: stray '\231' in program sumapatrate.cpp:31:1: error: stray '\304' in program sumapatrate.cpp:31:1: error: stray '\203' in program sumapatrate.cpp:31:1: error: stray '\304' in program sumapatrate.cpp:31:1: error: stray '\203' in program sumapatrate.cpp:31:1: error: stray '\304' in program sumapatrate.cpp:31:1: error: stray '\203' in program sumapatrate.cpp:33:1: error: stray '\305' in program Restricţii şi precizări ^ sumapatrate.cpp:33:1: error: stray '\243' in program sumapatrate.cpp:33:1: error: stray '\305' in program sumapatrate.cpp:33:1: error: stray '\237' in program sumapatrate.cpp:33:1: error: stray '\304' in program sumapatrate.cpp:33:1: error: stray '\203' in program sumapatrate.cpp:39:1: error: stray '\310' in program Ieșire ^ sumapatrate.cpp:39:1: error: stray '\231' in program sumapatrate.cpp:42:1: error: stray '\303' in program Încărcare soluție ^ sumapatrate.cpp:42:1: error: stray '\216' in program sumapatrate.cpp:42:1: error: stray '\304' in program sumapatrate.cpp:42:1: error: stray '\203' in program sumapatrate.cpp:42:1: error: stray '\310' in program sumapatrate.cpp:42:1: error: stray '\233' in program sumapatrate.cpp:44:1: error: stray '\310' in program Lipește codul aici ^ sumapatrate.cpp:44:1: error: stray '\231' in program sumapatrate.cpp:50:1: error: stray '\342' in program ^ sumapatrate.cpp:50:1: error: stray '\200' in program sumapatrate.cpp:50:1: error: stray '\213' in program sumapatrate.cpp:54:2: error: stray '\342' in program Contact • Reîncarcă • 83.103.156.64 ^ sumapatrate.cpp:54:2: error: stray '\200' in program sumapatrate.cpp:54:2: error: stray '\242' in program sumapatrate.cpp:54:2: error: stray '\303' in program sumapatrate.cpp:54:2: error: stray '\256' in program sumapatrate.cpp:54:2: error: stray '\304' in program sumapatrate.cpp:54:2: error: stray '\203' in program sumapatrate.cpp:54:2: error: stray '\342' in program sumapatrate.cpp:54:2: error: stray '\200' in program sumapatrate.cpp:54:2: error: stray '\242' in program sumapatrate.cpp:54:31: error: too many decimal points in number Contact • Reîncarcă • 83.103.156.64 ^ sumapatrate.cpp:1:1: error: 'pbInfo' does not name a type pbInfo.ro ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema SumaPatrate 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ă.