#2415
nr_pal
Se dau n
întrebări de forma: Câte palindromuri există în intervalul [a,b]
?, unde a
și b
sunt numere naturale date, cu a ≤ b
.
Problema | nr_pal | Operații I/O |
nr_pal.in /nr_pal.out
|
---|---|---|---|
Limita timp | 0.2 secunde | Limita memorie |
Total: 4 MB
/
Stivă 2 MB
|
Id soluție | #46560829 | Utilizator | |
Fișier | nr_pal.pas | Dimensiune | 676 B |
Data încărcării | 17 Noiembrie 2023, 00:00 | Scor / rezultat | 30 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 nr_pal.pas nr_pal.pas(1,7) Note: Local variable "tt" not used nr_pal.pas(2,5) Note: Local variable "c" not used nr_pal.pas(2,9) Note: Local variable "e" not used nr_pal.pas(2,11) Note: Local variable "f" not used nr_pal.pas(2,13) Note: Local variable "g" not used nr_pal.pas(2,15) Note: Local variable "m" not used nr_pal.pas(2,19) Note: Local variable "n2" not used nr_pal.pas(2,22) Note: Local variable "x" not used nr_pal.pas(2,24) Note: Local variable "x1" not used nr_pal.pas(2,27) Note: Local variable "n1" not used nr_pal.pas(2,30) Note: Local variable "a1" not used nr_pal.pas(2,33) Note: Local variable "aux" not used nr_pal.pas(2,49) Note: Local variable "min" not used nr_pal.pas(2,53) Note: Local variable "nr" not used nr_pal.pas(2,58) Note: Local variable "max" not used Linking the.exe 31 lines compiled, 0.0 sec 15 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 | ||
---|---|---|---|---|---|---|
0 | 0 secunde | OK. | 5 | 5 | Exemplu | |
1 | 0 secunde | OK. | 5 | 5 | ||
2 | 0 secunde | OK. | 5 | 5 | ||
3 | 0 secunde | OK. | 5 | 5 | ||
4 | 0 secunde | OK. | 5 | 5 | ||
5 | 0.004 secunde | OK. | 5 | 5 | ||
6 | Depășit | Limita de timp depășită | 5 | 0 | ||
7 | Depășit | Limita de timp depășită | 5 | 0 | ||
8 | Depășit | Limita de timp depășită | 5 | 0 | ||
9 | Depășit | Limita de timp depășită | 5 | 0 | ||
10 | Depășit | Limita de timp depășită | 5 | 0 | ||
11 | Depășit | Limita de timp depășită | 5 | 0 | ||
12 | Depășit | Limita de timp depășită | 5 | 0 | ||
13 | Depășit | Limita de timp depășită | 5 | 0 | ||
14 | Depășit | Limita de timp depășită | 5 | 0 | ||
15 | Depășit | Limita de timp depășită | 5 | 0 | ||
16 | Depășit | Limita de timp depășită | 5 | 0 | ||
17 | Depășit | Limita de timp depășită | 5 | 0 | ||
18 | Depășit | Limita de timp depășită | 5 | 0 | ||
19 | Depășit | Limita de timp depășită | 5 | 0 | ||
Punctaj total | 30 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema nr_pal 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ă.