If θ is resultant temperature.
Heatlostbywater=Heatgainedbyice
(10×1×(10−θ))=(10×0.5(20))+(10×80)+(10×1(θ−0))
But this gives θ=−40oC
This is not possible.
Ice cannot take heat from water at 0oC.
Heatlostbywater=100cal.
(when temperature falls to 0oC )
⇒ Mixture attains 0oC finally.