#P11000. [蓝桥杯 2024 省 Python B] 数字串个数
[蓝桥杯 2024 省 Python B] 数字串个数
Problem Description
Xiao Lan wants to construct a digit string of length with the following requirements:
-
Xiao Lan does not like the digit , so the digit string must not contain .
-
Xiao Lan likes the digits and , so the digit string must contain both and .
How many digit strings satisfy the requirements? This number can be very large; you only need to output the result modulo .
Output Format
Output one integer in one line, representing the answer.
Hint
Translated by ChatGPT 5