#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 | #64094326 | Utilizator | |
| Fișier | neadragulin.cpp | Dimensiune | 218 B |
| Data încărcării | 16 Aprilie 2026, 16:48 | Scor/rezultat | 28 puncte |
neadragulin.cpp: In function ‘int main()’: neadragulin.cpp:10:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare] 10 | for(int i=1;i<k;i++){ | ~^~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | OK. | 4 | 4 | Exemplu | |
| 2 | 0.002 secunde | OK. | 4 | 4 | ||
| 3 | 0.003 secunde | OK. | 4 | 4 | ||
| 4 | 0.001 secunde | Raspuns gresit. | 4 | 0 | ||
| 5 | 0.001 secunde | OK. | 4 | 4 | ||
| 6 | 0.001 secunde | OK. | 4 | 4 | ||
| 7 | 0.001 secunde | OK. | 4 | 4 | ||
| 8 | 0.001 secunde | Raspuns gresit. | 4 | 0 | ||
| 9 | 0 secunde | OK. | 4 | 4 | ||
| 10 | 0.001 secunde | Raspuns gresit. | 4 | 0 | ||
| 11 | 0.001 secunde | Raspuns gresit. | 4 | 0 | ||
| 12 | 0.001 secunde | Raspuns gresit. | 4 | 0 | ||
| 13 | 0.001 secunde | Raspuns gresit. | 4 | 0 | ||
| 14 | 0.001 secunde | Raspuns gresit. | 4 | 0 | ||
| 15 | 0.014 secunde | Raspuns gresit. | 4 | 0 | ||
| 16 | 0.134 secunde | Raspuns gresit. | 4 | 0 | ||
| 17 | 0.255 secunde | Raspuns gresit. | 4 | 0 | ||
| 18 | 0.496 secunde | Raspuns gresit. | 4 | 0 | ||
| 19 | Depășit | Limita de timp depășită | 4 | 0 | ||
| 20 | 0.001 secunde | Raspuns gresit. | 4 | 0 | ||
| 21 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 22 | 0.003 secunde | Raspuns gresit. | 4 | 0 | ||
| 23 | 0.013 secunde | Raspuns gresit. | 4 | 0 | ||
| 24 | 0.37 secunde | Raspuns gresit. | 4 | 0 | ||
| 25 | Depășit | Limita de timp depășită | 4 | 0 | ||
| Punctaj total | 28 | |||||
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ă.