#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 | #5449668 | Utilizator | |
Fișier | 5numere.cpp | Dimensiune | 658 B |
Data încărcării | 18 Iulie 2017, 12:58 | Scor / rezultat | Eroare de compilare |
5numere.cpp:21:5: error: stray '\303' in program if(d>max2&&d!=max1çç´çççç ^ 5numere.cpp:21:5: error: stray '\247' in program 5numere.cpp:21:5: error: stray '\303' in program 5numere.cpp:21:5: error: stray '\247' in program 5numere.cpp:21:5: error: stray '\302' in program 5numere.cpp:21:5: error: stray '\264' in program 5numere.cpp:21:5: error: stray '\303' in program 5numere.cpp:21:5: error: stray '\247' in program 5numere.cpp:21:5: error: stray '\303' in program 5numere.cpp:21:5: error: stray '\247' in program 5numere.cpp:21:5: error: stray '\303' in program 5numere.cpp:21:5: error: stray '\247' in program 5numere.cpp:21:5: error: stray '\303' in program 5numere.cpp:21:5: error: stray '\247' in program 5numere.cpp: In function 'int main()': 5numere.cpp:5:5: error: 'i' was not declared in this scope for(i=1;i<=5;i++) ^ 5numere.cpp:22:5: error: expected ')' before 'max2' max2=d; ^
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ă.