Prob was fired horizontally and not up into the air so max height was just the cliff. If so you can find the time of flight first, then you can determine the initial velocity by considering the range.
Is that the exact question but? if so, bleakarcher is right on the variables