You can work this problem using energy methods.
Let v1 = velocity at top of building (meters/second)
v2 = velocity at the ground (meters/second)
h1 = height of building (meters)
g = gravity acceleration (9.8meters/second2)
Then
mgh1 + (1/2)mv12 = (1/2)mv22 (mass terms cancel and h2 = 0)
or h1 = (1/2)(v22 - v12)/g = (1/2)(602-102)/(9.8)
h1 = 178.57 meters