title: Problem 788 date: 2022/03/05 08:00:00 --- *** # [Problem 788](https://projecteuler.net/problem=788) *** [Xem đề gốc (tiếng Anh)](https://projecteuler.net/problem=788) ## **Số ưu thế** $n$ ưu thế nếu mọi chữ số đều xuất hiện ít nhất một lần nhiều hơn lần nó không xuất hiện. Đếm số ưu thế $\le 10^{20}$. ***