#58
Să se scrie un program care să determine cel mai mare divizor comun a două numere naturale citite de la tastatură.
| Problema | CMMDC | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #62382127 | Utilizator | |
| Fișier | cmmdc.cpp | Dimensiune | 1.99 KB |
| Data încărcării | 19 Ianuarie 2026, 21:52 | Scor/rezultat | 0 puncte |
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | Exited with error status 12 | 10 | 0 | Exemplu | |
| 2 | 0 secunde | Exited with error status 255 | 10 | 0 | ||
| 3 | 0 secunde | Exited with error status 15 | 10 | 0 | ||
| 4 | 0 secunde | Exited with error status 15 | 10 | 0 | ||
| 5 | 0 secunde | Exited with error status 1 | 10 | 0 | ||
| 6 | 0 secunde | Exited with error status 10 | 10 | 0 | ||
| 7 | 0 secunde | Exited with error status 145 | 10 | 0 | ||
| 8 | 0 secunde | Exited with error status 1 | 10 | 0 | ||
| 9 | 0 secunde | Exited with error status 1 | 10 | 0 | ||
| 10 | 0 secunde | Exited with error status 13 | 10 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema CMMDC 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ă.