If $[\cdot]$ represents the greatest integer function, then the value of $\left|\int_0^{\sqrt{\frac{\pi}{2}}}\left[\left[x^2\right]-\cos x\right] d x\right|$ is ______.
Numerical-value question: the answer is a number.
Show answer
The answer is 1.
Key from source paper