25. Let $[x]$ denote the greatest integer not exceeding the real number $x$, and $\{x\}=x-[x]$. Given $a=\frac{p}{q}$ (where $p$ and $q$ are coprime positive integers). If the sum of all real numbers $x$ that satisfy $[x]\{x\}=a x^{2}$ is 420, then the value of $p+q$ is ( ).
(A) 245
(B) 593
(C) 929
(D) 1331
(E) 1332