Two blocks $A$ and $B$, each of mass $m$ are connected by a massless spring of natural length $L$ and spring constant $k$. The blocks are initially resting on a smooth horizontal floor with the spring at its natural length, as shown in figure.
A third block $C$, also of mass $m$, moves on the floor with a speed $v$ along the line joining $A$ and $B$ and collides with
A. Then :
(a) the kinetic energy of the $A+B$ system at maximum compression of the spring is zero
(b) the kinetic energy of $A+B$ system, at maximum compression of the spring is $\frac{m v^{2}}{4}$
(c) the maximum compression of the spring is $v \sqrt{\left(\frac{m}{k}\right)}$
(d) none of the above