Answer
The ground-state energy of a proton trapped in a one-dimensional infinite potential well is less than that of an electron trapped in the same potential well.
Work Step by Step
In the ground state, $n=1$
We can write an expression for the ground-state energy of a particle in a potential well:
$E_1 = (\frac{h^2}{8m~L^2})~n^2 = \frac{h^2}{8m~L^2}$
As the mass $m$ increases, the energy decreases.
The mass of a proton is greater than the mass of an electron.
Therefore, the ground-state energy of a proton trapped in a one-dimensional infinite potential well is less than that of an electron trapped in the same potential well.