Question 26Set $\{x\}=x-\lfloor x\rfloor$, where $\lfloor x\rfloor$ denotes the largest integer less than or equal to $x$. Find the number of real solutions to the equation $$\{x\}+\{x^2\}=1,\qquad |x|\le10.$$