There are N stones free falling down.Every second speed of each rock increases by a>0. Write program that calculates top speed of each rock
Inputfirst line contains two numbers: N-integer ans a-float folowing N lines contains two integers(for pascal limits) first one- initial speed and second- initial heigth
Outputoutput must contain N lines.each line contains one number-top speed of falling stown(precision- 4 digits)