Heat needed to melt 1g of ice is 80 cal. Heat available from 1g of water cooling from 80°C to 0°C is 80 cal. Since the heat available is exactly enough to melt the ice, the final temperature will be 0°C.