8. The set $M$ is a subset of the set $A=\{1,2, \cdots, 100\}$, and $M$ contains at least one square number or cube number. Then the number of such subsets $M$ is $\qquad$
The square numbers or cube numbers within 100 are $1,4,9,16,25,36,49,64,81,100,8,27$, so the number of subsets of $A$ that do not contain these numbers is $2^{88}$. Therefore, the number of subsets $M$ is $2^{100}-2^{88}$.