I think the answer is wrong
firstly the mass will hv some velocity at the upper end which is equal to
sqroot(gl) [which is the critical velocity to complete a vertical circle...]
energy eqn now changes to
1/2 m v2 = 2lmg + 1/2 mgl
From ths we get v = sqrt (5gl)
If i'm wrong dont forget to point out the mistake and if rite a salute....