As we know that $f(x)=x^2+1\equiv0 \pmod p $ has no integer solutions if $p\equiv 3\pmod 4$, does there exist a cubic polynomial $f(x)=ax^3+bx^2+cx+d~(a,b,c,d \in\mathbb Z,a\neq 0) $ such that $f(x)\equiv0 \pmod p $ has no integer solutions if $p\equiv 3\pmod 4$?
I only know that $f(x)=0$ has no integer solutions.
Here is an analogous fact. If $$p\equiv 1\mod 3$$ where $p\neq m^2+27n^2$ for any integers $m$ and $n$, then $$x^3-2\equiv0\mod p$$ has no integer solutions by the cubic reciprocity law for $\left[\frac{2}{p}\right]_3$.