Skip to main content
1 of 2
FRR
  • 1
  • 1

This will help for sure. http://www.google.com.bd/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&ved=0CEoQFjAD&url=http%3A%2F%2Fwww.eps.org%2Fresource%2Fcollection%2F016775D4-8888-474D-887F-3E33AEA5E6D0%2FEPSPED_MUSE_2liq.pdf&ei=G5GcUrC4JcLP0QWkjoHgCw&usg=AFQjCNGnjlnYuxkwrUdtqz2f2fgCOyc2Bw&sig2=MELk-Snu28cjA4ezIgHpIg

You only have to calculate the height. And the information you get for this is enough. I used this formula to write a program in a contest in codeforces. The problem is same as yours. No change."Cocktail"

FRR
  • 1
  • 1