Skip to main content
added 33 characters in body
Source Link
sammy gerbil
  • 27.5k
  • 6
  • 35
  • 72

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-Snu28cjA4ezIgHpIgFloating between two liquids

You only have to calculate the height. And the information you get for this is enough. I

I used this formula to write a program in a contest in codeforces. The problem is same as yours. No change."Cocktail"

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"

This will help for sure.  Floating between two liquids

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"

Source Link
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"