#559
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 | #62011001 | Utilizator | |
| Fișier | numere.cpp | Dimensiune | 208 B |
| Data încărcării | 28 Decembrie 2025, 19:52 | Scor/rezultat | 0 puncte |
numere.cpp: In function 'int main()': numere.cpp:9:7: warning: left operand of comma operator has no effect [-Wunused-value] 1<=a,b,c,d,e>=10000; ^ numere.cpp:9:13: warning: right operand of comma operator has no effect [-Wunused-value] 1<=a,b,c,d,e>=10000; ^ numere.cpp:9:15: warning: right operand of comma operator has no effect [-Wunused-value] 1<=a,b,c,d,e>=10000; ^ numere.cpp:9:20: warning: right operand of comma operator has no effect [-Wunused-value] 1<=a,b,c,d,e>=10000; ^ numere.cpp:9:18: warning: right operand of comma operator has no effect [-Wunused-value] 1<=a,b,c,d,e>=10000; ^ numere.cpp:11:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] (a<b>c<d<e) ^ numere.cpp:11:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] (a<b>c<d<e) ^ numere.cpp:11:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] (a<b>c<d<e) ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
| 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 | 0 | |||||
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ă.