Initially, 1 mol of gas occupies 1 L at pressure $p$ and temperature $T$.
Using the ideal gas law, $PV = nRT$:
$p \times 1 = 1 \times RT \implies p = RT$.
The vessel is divided into two equal parts, so each part has a volume of $\frac{1}{2}$ L, and the gas splits equally (0.5 mol per part).
For each part, apply the ideal gas law:
$P \times \frac{1}{2} = 0.5 \times RT \implies P \times \frac{1}{2} = 0.5 \times p \implies P = p$.
Thus, each part has a pressure of $p$ atm and a volume of $\frac{1}{2}$ L.