#2292
Nevricos
Un număr X
se numește nevricos dacă este egal cu triplul produsului cifrelor lui X
.
Dându-se un șir S
de cifre nenule, să se determine câte dintre secvențele din S
au numere asociate nevricoase și câte dintre subșirurile lui S
au numere asociate nevricoase.
Problema | Nevricos | Operații I/O |
nevricos.in /nevricos.out
|
---|---|---|---|
Limita timp | 0.02 secunde | Limita memorie |
Total: 0.1 MB
/
Stivă 0.1 MB
|
Id soluție | #23075008 | Utilizator | |
Fișier | nevricos.pas | Dimensiune | 467 B |
Data încărcării | 21 Mai 2020, 15:34 | Scor / rezultat | 0 puncte |
Free Pascal Compiler version 2.6.2-8 [2014/01/22] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for i386 Compiling nevricos.pas nevricos.pas(3,15) Note: Local variable "y4" is assigned but never used nevricos.pas(3,18) Note: Local variable "y5" is assigned but never used Linking the.exe 20 lines compiled, 0.0 sec 2 note(s) issued /usr/bin/ld.bfd: warning: link.res contains output sections; did you forget -T?
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Exited with error status 105 | 10 | 0 | ||
2 | 0 secunde | Exited with error status 105 | 10 | 0 | ||
3 | 0 secunde | Exited with error status 105 | 10 | 0 | ||
4 | 0 secunde | Exited with error status 105 | 10 | 0 | ||
5 | 0 secunde | Exited with error status 105 | 10 | 0 | ||
6 | 0.008 secunde | Exited with error status 105 | 10 | 0 | ||
7 | 0.012 secunde | Exited with error status 105 | 10 | 0 | ||
8 | 0.028 secunde | Exited with error status 105 | 10 | 0 | ||
9 | 0.032 secunde | Exited with error status 105 | 10 | 0 | ||
10 | 0.024 secunde | Exited with error status 105 | 10 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Nevricos 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ă.