•. 区间回文数

    Type: Default 1000ms 256MiB

区间回文数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

给两个长度为9的数字l和r,求l和r之间的回文数的个数有多少。

Format

Input

输入两个长度为9的数字l和r 1e8<=l<=r<1e9

Output

多组输入。每组输入两个长度为9的数字l和r 1e8<=l<=r<1e9

Samples

100000000 100000011
1

hint:区间只有一个回文数100000001

Limitation

1s, 1024KiB for each test case.

第七届SWPU-ACM新生预选赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
103
Start at
2022-9-19 14:00
End at
2022-10-28 14:00
Duration
936 hour(s)
Host
Partic.
58