Elevation of boiling point,
$\Delta T_{b}=\frac{w \times K_{b} \times 1000}{M \times W}$
(Here, $w$ and $W=$ weights of solute and solvent respectively,
$M=$ molecular weight of solute and
$K_{b}=$ constant $)$
On substituting values, we get
$0.05=\frac{w \times 0.5 \times 1000}{100 \times 100}$
or $w=\frac{0.05 \times 100 \times 100}{0.5 \times 1000}=1\, g$