#448
ciford
Se citește de la tastatură un număr natural de 3
cifre. Să se afișeze cifrele sale în ordine crescătoare.
Problema | ciford | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #58474418 | Utilizator | |
Fișier | ciford.cpp | Dimensiune | 366 B |
Data încărcării | 09 Iunie 2025, 13:31 | Scor / rezultat | 0 puncte |
ciford.cpp: In function 'int main()': ciford.cpp:10:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(a>b>c) cout<<a<<" "<<b<<" "<<c; ^ ciford.cpp:11:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(a>b<c) cout<<a<<" "<<c<<" "<<b; ^ ciford.cpp:12:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(a<b>c) cout<<b<<" "<<c<<" "<<a; ^ ciford.cpp:13:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(a<b>c) cout<<b<<" "<<a<<" "<<c; ^ ciford.cpp:14:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(a<b<c) cout<<c<<" "<<b<<" "<<a; ^ ciford.cpp:15:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(a>b<c) cout<<c<<" "<<a<<" "<<b; ^
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 ciford 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ă.