(A) Bob $A$ will not rise at all.
In an elastic collision between two equal masses in which one is stationary,while the other is moving with some velocity,the stationary mass acquires the same velocity,while the moving mass immediately comes to rest after the collision. In this case,a complete transfer of momentum and kinetic energy takes place from the moving mass to the stationary mass.
Hence,bob $A$ of mass $m$,after colliding with bob $B$ of equal mass,will come to rest,while bob $B$ will move with the velocity of bob $A$ at the instant of collision. Since bob $A$ comes to rest at the lowest point,it will not rise at all.