#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 | #18797400 | Utilizator | |
| Fișier | neadragulin.cpp | Dimensiune | 296 B |
| Data încărcării | 17 Noiembrie 2019, 14:13 | Scor/rezultat | 4 puncte |
neadragulin.cpp: In function 'int main()': neadragulin.cpp:5:26: warning: variable 'pk' set but not used [-Wunused-but-set-variable] int m,n,k,nr=0,p,pp=1,pk; ^ neadragulin.cpp:15:11: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] p--; ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.076 secunde | Raspuns gresit. | 4 | 0 | Exemplu | |
| 2 | 0.076 secunde | OK. | 4 | 4 | ||
| 3 | 0.076 secunde | Raspuns gresit. | 4 | 0 | ||
| 4 | 0.072 secunde | Raspuns gresit. | 4 | 0 | ||
| 5 | 0.072 secunde | Raspuns gresit. | 4 | 0 | ||
| 6 | 0.076 secunde | Raspuns gresit. | 4 | 0 | ||
| 7 | 0.072 secunde | Raspuns gresit. | 4 | 0 | ||
| 8 | 0.072 secunde | Raspuns gresit. | 4 | 0 | ||
| 9 | 0.072 secunde | Raspuns gresit. | 4 | 0 | ||
| 10 | 0.072 secunde | Raspuns gresit. | 4 | 0 | ||
| 11 | 0.072 secunde | Raspuns gresit. | 4 | 0 | ||
| 12 | 0.072 secunde | Raspuns gresit. | 4 | 0 | ||
| 13 | 0.076 secunde | Raspuns gresit. | 4 | 0 | ||
| 14 | 0.072 secunde | Raspuns gresit. | 4 | 0 | ||
| 15 | 0.088 secunde | Raspuns gresit. | 4 | 0 | ||
| 16 | 0.208 secunde | Raspuns gresit. | 4 | 0 | ||
| 17 | 0.332 secunde | Raspuns gresit. | 4 | 0 | ||
| 18 | Depășit | Limita de timp depășită | 4 | 0 | ||
| 19 | Depășit | Limita de timp depășită | 4 | 0 | ||
| 20 | 0.076 secunde | Raspuns gresit. | 4 | 0 | ||
| 21 | 0.076 secunde | Raspuns gresit. | 4 | 0 | ||
| 22 | 0.08 secunde | Raspuns gresit. | 4 | 0 | ||
| 23 | 0.092 secunde | Raspuns gresit. | 4 | 0 | ||
| 24 | 0.476 secunde | Raspuns gresit. | 4 | 0 | ||
| 25 | Depășit | Limita de timp depășită | 4 | 0 | ||
| Punctaj total | 4 | |||||
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ă.