#B. 反射数

    传统题 1000ms 256MiB

反射数

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

题目描述

定义一个数的 Reflecion number\tt Reflecion\ number,是用 99 减去它的每一个数位后,再去掉前导 00 而形成的数,如 192192Reflecion number\tt Reflecion\ number80780791=89-1=899=09-9=092=79-2=7)。

再定义一个数的 Weight\tt Weight,它等于这个数自身乘以这个数的 Reflecion number\tt Reflecion\ number

输入 llrr1lr1091\le l\le r\le 10^9),输出 llrr 的数中 Weight\tt Weight 的最大值。

输入格式

两个整数 l,rl,r

输出格式

一个整数表示答案。

3 7
20
1 1
8
8 10
890

2025 年 1 月思维月赛

未参加
状态
已结束
规则
IOI
题目
4
开始于
2025-1-20 18:00
结束于
2025-1-25 18:00
持续时间
2 小时
主持人
参赛人数
17