#3200
Nea Drăgulin are un număr natural n pe care îl scrie de k ori, unul după altul. Aflaţi restul împărţirii numărului astfel obţinut la 72.
| Problema | neaDragulin | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #48935953 | Utilizator | |
| Fișier | neadragulin.cpp | Dimensiune | 417 B |
| Data încărcării | 09 Februarie 2024, 19:29 | Scor/rezultat | 12 puncte |
neadragulin.cpp: In function 'int main()': neadragulin.cpp:16:10: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] r1=(s*k)%9; ^ neadragulin.cpp:20:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] r2=x%8; ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | Raspuns gresit. | 4 | 0 | Exemplu | |
| 2 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 3 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 4 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 5 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 6 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 7 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 8 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 9 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 10 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 11 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 12 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 13 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 14 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 15 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 16 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 17 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 18 | 0 secunde | OK. | 4 | 4 | ||
| 19 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 20 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 21 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 22 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 23 | 0 secunde | OK. | 4 | 4 | ||
| 24 | 0 secunde | OK. | 4 | 4 | ||
| 25 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| Punctaj total | 12 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema neaDragulin 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ă.