Let $p$ be a prime number. For every integer $m$, there are integers $u_1$, $u_2$, such that $\lvert u_1\rvert, \lvert u_2\rvert < \sqrt{p}$ and $$m \equiv u_1u_2^{-1} \pmod{p}.$$
Proof of this statement is at the end. I'm interested in generalizing this statement. For example,
Let $p$ be a prime number, $f = \sqrt[3]{p}$. For every integer $m$, there are integers $u_1$, $u_2$, $u_3$, such that $\lvert u_1\rvert, \lvert u_2\rvert, \lvert u_3\rvert < f$ and $$m \equiv u_1^{\pm 1}u_2^{\pm 1}u_3^{\pm 1} \pmod{p}.$$
But this is false. The question is, how large should $f$ be to make the statement true? Can we choose $f = c\sqrt[3]{p}$ for some constant $c$? Probably, no. I think, something like $f = \log(p)\sqrt[3]{p}$ should work. The same question for the products of the form $u_1^{\pm 1}u_2^{\pm 1}\dotsm u_n^{\pm 1}$.
Proof.
Consider the pairs $(a, b)$ such that $0 \le a, b < \sqrt{p}$. There are $(\lfloor\sqrt{p}\rfloor + 1)^2 > p$ such pairs. Hence, we can choose two distinct pairs $(a_1, b_1)$, $(a_2, b_2)$ such that $$a_1m + b_1 \equiv a_2m + b_2 \pmod{p}.$$ Let $u_2 = a_1 - a_2$, $u_1 = b_2 - b_1$. Then $$m \equiv u_1u_2^{-1} \pmod{p}.$$ I tried to generalize this proof, but did not succeed.
Update
This article deals with a similar problem. Theorem 1 implies that $f = p^{\beta + o(1)}$ works if $n \ge 14$, where $\beta = \frac{1}{4}e^{-1/2} \approx 0.1516$. This result is the best possible (in term of $\beta$) until at least the Burgess bound on the smallest quadratic nonresidue is improved.