#995
Se dau două numere naturale diferite. Afişaţi cel mai mare număr care poate fi scris folosind toate cifrele celor două numere date.
| Problema | Numere6 | Operații I/O |
numere6.in/numere6.out
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64749252 | Utilizator | |
| Fișier | numere6.cpp | Dimensiune | 530 B |
| Data încărcării | 27 Mai 2026, 17:10 | Scor/rezultat | 0 puncte |
numere6.cpp: In function ‘int main()’: numere6.cpp:17:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 17 | while(n!=0);{ | ^~~~~ numere6.cpp:17:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 17 | while(n!=0);{ | ^ numere6.cpp:24:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 24 | while(m!=0);{ | ^~~~~ numere6.cpp:24:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 24 | while(m!=0);{ | ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.002 secunde | Raspuns gresit. | 20 | 0 | Exemplu | |
| 2 | 0.001 secunde | Raspuns gresit. | 20 | 0 | ||
| 3 | 0.002 secunde | Raspuns gresit. | 20 | 0 | ||
| 4 | 0.001 secunde | Raspuns gresit. | 20 | 0 | ||
| 5 | 0.001 secunde | Raspuns gresit. | 20 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Numere6 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ă.