#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 | #52500285 | Utilizator | |
Fișier | numere.cpp | Dimensiune | 1.50 KB |
Data încărcării | 01 Octombrie 2024, 20:03 | Scor / rezultat | 10 puncte |
numere.cpp: In function 'int main()': numere.cpp:25:10: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s1>s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:25:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s1>s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:25:16: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s1>s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:25:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s1>s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:25:22: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s1>s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:25:25: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s1>s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:25:28: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s1>s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:25:31: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s1>s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:28:14: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:28:17: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:28:20: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:28:23: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:28:26: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:28:29: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:28:32: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s2>s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:31:18: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:31:21: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:31:24: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:31:27: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:31:30: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:31:33: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s3>s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:34:22: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:34:25: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:34:28: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:34:31: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:34:34: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s4>s5>s6>s7>s8>s9>s10) ^ numere.cpp:37:26: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s5>s6>s7>s8>s9>s10) ^ numere.cpp:37:29: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s5>s6>s7>s8>s9>s10) ^ numere.cpp:37:32: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s5>s6>s7>s8>s9>s10) ^ numere.cpp:37:35: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s5>s6>s7>s8>s9>s10) ^ numere.cpp:40:30: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s6>s7>s8>s9>s10) ^ numere.cpp:40:33: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s6>s7>s8>s9>s10) ^ numere.cpp:40:36: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s6>s7>s8>s9>s10) ^ numere.cpp:43:34: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s7>s8>s9>s10) ^ numere.cpp:43:37: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s7>s8>s9>s10) ^ numere.cpp:46:38: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(s8>s9>s10) ^
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ă.