A frictionless piston-cylinder device and a rigid tank contain $3 \mathrm{kmol}$ of an ideal gas at the same temperature, pressure, and volume. Now heat is transferred, and the temperature of both systems is raised by $10^{\circ} \mathrm{C}$. The amount of extra heat that must be supplied to the gas in the cylinder that is maintained at constant pressure is
(a) $0 \mathrm{~kJ}$
(b) $27 \mathrm{~kJ}$
(c) $83 \mathrm{~kJ}$
(d) $249 \mathrm{~kJ}$
(e) $300 \mathrm{~kJ}$