Problem 3945 · Easy
Count how often each digit appears, then add each digit times its count.
Open the interactive visualisation