01
AtCoder Beginner Contest 357-D
ProblemFor a positive integer , let be the integer formed by concatenating exactly times. More precisely, consider as a string, concatenate copies of it, and treat the result as an integer to get . For example, and . Find the remainder when is divided by .
2024—06—19344 / ≈ 1 MIN