E. 【例46.2】 数字统计

    Type: Default 1000ms 256MiB

【例46.2】 数字统计

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.

说明

请统计某个给定范围 [LL,RR] 的所有整数中,数字 77 出现的次数。
比如给定范围 [6060,8080] 中,77一共出现1212次。分别是6767,7777的个位,以及 707970\sim 79 的十位。

输入格式

一行两个数 LL,RR 表示范围,用空格分隔。

输出格式

一个整数表示数字 77 出现的次数。

样例

60 80
12

Python|字典練習

Not Claimed
Status
Done
Problem
5
Open Since
2024-12-16 0:00
Deadline
2025-4-30 23:59
Extension
24 hour(s)