What the following formula mean?
$$\int\mathop{}\!\mathrm{d}^4x$$
I know that this $\int f(x)\mathop{}\!\mathrm{d}x$ is the integral of the function $f$ over the $x$ variable, but the following $\int\mathop{}\!\mathrm{d}^4x$ leave empty the argument and also have the $\mathrm{d}$ elevated to the fourth power. What that mean?
Update.
In the Einstein-Hilbert action we have (note that I have understand that the other parts of the integral are relevant only after your answers, thus sorry.):
$$S=\frac{c^4}{16\pi G}\int\mathop{}\!\mathrm{d}^4x \, \ R \sqrt{-g}$$
It is a notation usually used in physics.
In their language $$ \int\mathop{}\!\mathrm{d}^3 p \,f(p) = \int_{\Omega} f(x,y,z)\mathop{}\!\mathrm{d}x\mathop{}\!\mathrm{d}y\mathop{}\!\mathrm{d}z. $$ Several remarks:
The domain where the integration is performed is unspecified, because we can have the flexibility of doing integration in momentum space or position space.
The exponent on the shoulder of $\mathrm{d}$ specifies the dimensionality of this integral, so no $\iint$ or $\iiint$.
The variable the integration is performed on is written before the integrand.
So if it is $\mathrm{d}^4 x $, normally it means to integrate in the whole space-time.
Some Updates: Not an expert in GR but if the integration is $$ S=\frac{c^4}{16\pi G}\int\mathop{}\!\mathrm{d}^4x \, R \sqrt{-g}, $$ then $\mathrm{d}^4x\,\sqrt{-g}$ means the integration is done in the whole space-time $\mathcal{M}$ with certain metric $g$. The metric also has a negative determinant (relevant to the $(− + + +)$ sign convention). The "volume" element in space-time for this integration is actually $$ \underbrace{\mathrm{d}^4 x\,\sqrt{-g}}_{\text{Physics type of notation}} = \underbrace{\sqrt{|g|} d x\wedge d y\wedge d z\wedge cd t}_{\text{Volume element of integration performed on a manifold with metric } g}. $$ Here we can't separately write $\mathrm{d}^4 x$, it would cause certain level of confusion of the metric. Also the mathematical type of notation is only true whenever we equip the manifold locally with a coordinate system $(dx,dy,dz,-cdt)$ while the physics's notation leaves the volume element's coordinate system unspecified to avoid some technique issues.
Now because the space-time's metric $g$ is not a constant but rather changing in the whole space-time, we normally we do not write in the form of $\mathrm{d} x\,\mathrm{d} y\,\mathrm{d} z\,c\mathrm{d} t$ or $ \mathrm{d} x\wedge\mathrm{d} y\wedge\mathrm{d} z\wedge c\mathrm{d} t$ unless we know the space-time is flat (Minkowski space-time). I suggest you try to derive the action using a unit mass particle moving in a gravitational field in Minkowski time yourself to better understand the notation.
A simple analogy: The "area" element in polar coordinate system is $rdrd\theta$ (written in math notation convention), while in physics the integration is written as: $$ \int\mathop{}\!\mathrm{d} \theta\mathrm{d} r\,r \,f(r,\theta). $$