Ice floats. Even if the most of the ice in the cup has melted, but there was a little bit of it left, the coin will stay on top.
From my personal experience: while we were away on vacation, there was a power outrage for 24_ hours. Coin was on top, but all ice cream and frozen packaged food was ruined. Not sure about big chunks of beef.