#1568
MedieDiv
C++
Se citeşte de la tastatură un număr natural n
. Să se calculeze şi să se afişeze media aritmetică a tuturor divizorilor săi. Media va fi cu fix 2
zecimale dupa virgula.
Problema | MedieDiv | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #54796567 | Utilizator | |
Fișier | mediediv.cpp | Dimensiune | 1.59 KB |
Data încărcării | 09 Decembrie 2024, 08:46 | Scor / rezultat | Eroare de compilare |
mediediv.cpp:4:1: error: stray '\305' in program Soluţii ^ mediediv.cpp:4:1: error: stray '\243' in program mediediv.cpp:7:1: error: stray '\304' in program Postată de Clasa Intrare/ieșire Limită timp Limită memorie Sursa problemei Autor Dificultate Scorul tău ^ mediediv.cpp:7:1: error: stray '\203' in program mediediv.cpp:7:1: error: stray '\310' in program mediediv.cpp:7:1: error: stray '\231' in program mediediv.cpp:7:1: error: stray '\304' in program mediediv.cpp:7:1: error: stray '\203' in program mediediv.cpp:7:1: error: stray '\304' in program mediediv.cpp:7:1: error: stray '\203' in program mediediv.cpp:7:1: error: stray '\304' in program mediediv.cpp:7:1: error: stray '\203' in program mediediv.cpp:8:2: error: stray '\304' in program Moca Andrei (TREYWAY) 9 tastatură / ecran 0.1 secunde 64 MB / 8 MB ^ mediediv.cpp:8:2: error: stray '\203' in program mediediv.cpp:10:1: error: stray '\310' in program Andrei Moca ușoară ^ mediediv.cpp:10:1: error: stray '\231' in program mediediv.cpp:10:1: error: stray '\304' in program mediediv.cpp:10:1: error: stray '\203' in program mediediv.cpp:12:7: error: "MedieDiv" is not a valid filename #1568 MedieDiv interesanta ^ mediediv.cpp:13:1: error: stray '\304' in program Această problemă acceptă numai soluții în C++. ^ mediediv.cpp:13:1: error: stray '\203' in program mediediv.cpp:13:1: error: stray '\304' in program mediediv.cpp:13:1: error: stray '\203' in program mediediv.cpp:13:1: error: stray '\304' in program mediediv.cpp:13:1: error: stray '\203' in program mediediv.cpp:13:1: error: stray '\310' in program mediediv.cpp:13:1: error: stray '\233' in program mediediv.cpp:13:1: error: stray '\303' in program mediediv.cpp:13:1: error: stray '\256' in program mediediv.cpp:17:1: error: stray '\303' in program ID Utilizator Problema Data încărcării Tip Stare Scor ^ mediediv.cpp:17:1: error: stray '\256' in program mediediv.cpp:17:1: error: stray '\304' in program mediediv.cpp:17:1: error: stray '\203' in program mediediv.cpp:17:1: error: stray '\304' in program mediediv.cpp:17:1: error: stray '\203' in program mediediv.cpp:18:11: error: "Badulescu" is not a valid filename #54239433 Badulescu Sebastian (BadulescuSebastian) MedieDiv 2024-11-23 09:48:54 C++ Evaluare finalizată 100 ^ mediediv.cpp:19:11: error: "Badulescu" is not a valid filename #54239330 Badulescu Sebastian (BadulescuSebastian) MedieDiv 2024-11-23 09:46:08 C++ Evaluare finalizată 100 ^ mediediv.cpp:20:11: error: "Badulescu" is not a valid filename #54239297 Badulescu Sebastian (BadulescuSebastian) MedieDiv 2024-11-23 09:45:39 C++ Evaluare finalizată 100 ^ mediediv.cpp:21:1: error: stray '\303' in program Încă 7 soluții neafișate. Afișează tot. ^ mediediv.cpp:21:1: error: stray '\216' in program mediediv.cpp:21:1: error: stray '\304' in program mediediv.cpp:21:1: error: stray '\203' in program mediediv.cpp:21:1: error: stray '\310' in program mediediv.cpp:21:1: error: stray '\233' in program mediediv.cpp:21:1: error: stray '\310' in program mediediv.cpp:21:1: error: stray '\231' in program mediediv.cpp:21:1: error: stray '\310' in program mediediv.cpp:21:1: error: stray '\231' in program mediediv.cpp:21:1: error: stray '\304' in program mediediv.cpp:21:1: error: stray '\203' in program mediediv.cpp:22:1: error: stray '\310' in program Enunț ^ mediediv.cpp:22:1: error: stray '\233' in program mediediv.cpp:23:1: error: stray '\310' in program Indicații ^ mediediv.cpp:23:1: error: stray '\233' in program mediediv.cpp:25:1: error: stray '\310' in program Soluția oficială 1 ^ mediediv.cpp:25:1: error: stray '\233' in program mediediv.cpp:25:1: error: stray '\304' in program mediediv.cpp:25:1: error: stray '\203' in program mediediv.cpp:26:1: error: stray '\310' in program Soluții ^ mediediv.cpp:26:1: error: stray '\233' in program mediediv.cpp:27:1: error: stray '\310' in program Cerința ^ mediediv.cpp:27:1: error: stray '\233' in program mediediv.cpp:28:1: error: stray '\305' in program Se citeşte de la tastatură un număr natural n. Să se calculeze şi să se afişeze media aritmetică a tuturor divizorilor săi. Media va fi cu fix 2 zecimale dupa virgula. ^ mediediv.cpp:28:1: error: stray '\237' in program mediediv.cpp:28:1: error: stray '\304' in program mediediv.cpp:28:1: error: stray '\203' in program mediediv.cpp:28:1: error: stray '\304' in program mediediv.cpp:28:1: error: stray '\203' in program mediediv.cpp:28:1: error: stray '\304' in program mediediv.cpp:28:1: error: stray '\203' in program mediediv.cpp:28:1: error: stray '\305' in program mediediv.cpp:28:1: error: stray '\237' in program mediediv.cpp:28:1: error: stray '\304' in program mediediv.cpp:28:1: error: stray '\203' in program mediediv.cpp:28:1: error: stray '\305' in program mediediv.cpp:28:1: error: stray '\237' in program mediediv.cpp:28:1: error: stray '\304' in program mediediv.cpp:28:1: error: stray '\203' in program mediediv.cpp:28:1: error: stray '\304' in program mediediv.cpp:28:1: error: stray '\203' in program mediediv.cpp:31:1: error: stray '\310' in program Programul citește de la tastatură numărul n. ^ mediediv.cpp:31:1: error: stray '\231' in program mediediv.cpp:31:1: error: stray '\304' in program mediediv.cpp:31:1: error: stray '\203' in program mediediv.cpp:31:1: error: stray '\304' in program mediediv.cpp:31:1: error: stray '\203' in program mediediv.cpp:33:1: error: stray '\310' in program Date de ieșire ^ mediediv.cpp:33:1: error: stray '\231' in program mediediv.cpp:34:1: error: stray '\310' in program Programul va afișa pe ecran numărul S, reprezentand media aritmetica. ^ mediediv.cpp:34:1: error: stray '\231' in program mediediv.cpp:34:1: error: stray '\304' in program mediediv.cpp:34:1: error: stray '\203' in program mediediv.cpp:36:1: error: stray '\310' in program Restricții și precizări ^ mediediv.cpp:36:1: error: stray '\233' in program mediediv.cpp:36:1: error: stray '\310' in program mediediv.cpp:36:1: error: stray '\231' in program mediediv.cpp:36:1: error: stray '\304' in program mediediv.cpp:36:1: error: stray '\203' in program mediediv.cpp:37:1: error: stray '\342' in program 1 ≤ n ≤ 1.000.000 ^ mediediv.cpp:37:1: error: stray '\211' in program mediediv.cpp:37:1: error: stray '\244' in program mediediv.cpp:37:1: error: stray '\342' in program mediediv.cpp:37:1: error: stray '\211' in program mediediv.cpp:37:1: error: stray '\244' in program mediediv.cpp:37:13: error: too many decimal points in number 1 ≤ n ≤ 1.000.000 ^ mediediv.cpp:42:1: error: stray '\310' in program Ieșire ^ mediediv.cpp:42:1: error: stray '\231' in program mediediv.cpp:45:1: error: stray '\310' in program Explicație ^ mediediv.cpp:45:1: error: stray '\233' in program mediediv.cpp:46:56: error: too many decimal points in number Divizorii lui 9 sunt: 1, 3 si 9. Media aritmetica este 4.33. ^ mediediv.cpp:48:1: error: stray '\303' in program Încărcare soluție ^ mediediv.cpp:48:1: error: stray '\216' in program mediediv.cpp:48:1: error: stray '\304' in program mediediv.cpp:48:1: error: stray '\203' in program mediediv.cpp:48:1: error: stray '\310' in program mediediv.cpp:48:1: error: stray '\233' in program mediediv.cpp:50:1: error: stray '\310' in program Lipește codul aici ^ mediediv.cpp:50:1: error: stray '\231' in program mediediv.cpp:51:1: error: stray '\304' in program Această problemă admite doar soluţii în C++. ^ mediediv.cpp:51:1: error: stray '\203' in program mediediv.cpp:51:1: error: stray '\304' in program mediediv.cpp:51:1: error: stray '\203' in program mediediv.cpp:51:1: error: stray '\305' in program mediediv.cpp:51:1: error: stray '\243' in program mediediv.cpp:51:1: error: stray '\303' in program mediediv.cpp:51:1: error: stray '\256' in program mediediv.cpp:54:1: error: stray '\342' in program ^ mediediv.cpp:54:1: error: stray '\200' in program mediediv.cpp:54:1: error: stray '\213' in program mediediv.cpp:55:2: error: stray '\342' in program Contact • Reîncarcă • 217.73.168.39 ^ mediediv.cpp:55:2: error: stray '\200' in program mediediv.cpp:55:2: error: stray '\242' in program mediediv.cpp:55:2: error: stray '\303' in program mediediv.cpp:55:2: error: stray '\256' in program mediediv.cpp:55:2: error: stray '\304' in program mediediv.cpp:55:2: error: stray '\203' in program mediediv.cpp:55:2: error: stray '\342' in program mediediv.cpp:55:2: error: stray '\200' in program mediediv.cpp:55:2: error: stray '\242' in program mediediv.cpp:55:31: error: too many decimal points in number Contact • Reîncarcă • 217.73.168.39 ^ mediediv.cpp:1:1: error: 'pbInfo' does not name a type pbInfo.ro ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema MedieDiv 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ă.