#559
5numere
Se dau 5 numere distincte. Să se determine suma celor mai mari 3 dintre ele.
Problema | 5numere | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #52031811 | Utilizator | |
Fișier | numere.cpp | Dimensiune | 1.88 KB |
Data încărcării | 16 Septembrie 2024, 22:17 | Scor / rezultat | 10 puncte |
numere.cpp: In function 'int main()': numere.cpp:9:10: warning: unused variable 'co' [-Wunused-variable] int co=a; ^ numere.cpp:15:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:21:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:27:10: warning: unused variable 'co' [-Wunused-variable] int co=d; ^ numere.cpp:33:10: warning: unused variable 'co' [-Wunused-variable] int co=a; ^ numere.cpp:39:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:45:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:51:10: warning: unused variable 'co' [-Wunused-variable] int co=d; ^ numere.cpp:56:10: warning: unused variable 'co' [-Wunused-variable] int co=a; ^ numere.cpp:62:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:68:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:74:10: warning: unused variable 'co' [-Wunused-variable] int co=d; ^ numere.cpp:79:10: warning: unused variable 'co' [-Wunused-variable] int co=a; ^ numere.cpp:85:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:91:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:97:10: warning: unused variable 'co' [-Wunused-variable] int co=d; ^ numere.cpp:102:10: warning: unused variable 'co' [-Wunused-variable] int co=a; ^ numere.cpp:108:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:114:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:120:10: warning: unused variable 'co' [-Wunused-variable] int co=d; ^ numere.cpp:125:10: warning: unused variable 'co' [-Wunused-variable] int co=a; ^ numere.cpp:131:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:137:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:143:10: warning: unused variable 'co' [-Wunused-variable] int co=d; ^ numere.cpp:148:10: warning: unused variable 'co' [-Wunused-variable] int co=a; ^ numere.cpp:154:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:160:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:166:10: warning: unused variable 'co' [-Wunused-variable] int co=d; ^ numere.cpp:171:10: warning: unused variable 'co' [-Wunused-variable] int co=a; ^ numere.cpp:177:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:183:10: warning: unused variable 'co' [-Wunused-variable] int co=c; ^ numere.cpp:189:10: warning: unused variable 'co' [-Wunused-variable] int co=d; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | OK. | 10 | 10 | ||
2 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
5 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
6 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
7 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
8 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
9 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
10 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
Punctaj total | 10 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema 5numere 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ă.