第 474 题:(2017 AMC 10b, 16)
How many of the base-ten numerals for the positive integers less than or equal to $2017$ contain the digit $0$?
$\textbf{(A)}\ 469\qquad\textbf{(B)}\ 471\qquad\textbf{(C)}\ 475\qquad\textbf{(D)}\ 478\qquad\textbf{(E)}\ 481$
- Two-digit numbers with a $0$: $10,20,\dots,90$: $9$.
- Three-digit: $900-9^3=171$. Four-digit from $1000$ to $1999$: $1000-9^3=271$. From $2000$ to $2017$: all $18$.
- Total: $9+171+271+18=469$.
- The answer is (A).
How many of the positive integers less than or equal to $1000$ contain the digit $0$?