In order to find the maximum of the function, we have to find the roots of the first derivative.

This gives us the time at which the ball reaches its maximum height.
We don't know s. We can find it because we know that at t=0 the ball is on the ground and its height has to be zero.

Finally, we can find the maximum height:

The answer is
C.