Here in the process we require
1. Heat to melt down all ice
2. Heat to raise the temperature of whole water to 100 degree C
3. Heat to boil off the water
now here for the first part
Heat required to melt the ice
[tex]Q_1 = mL[/tex]
[tex]Q_1 = 310*80 = 24800 cal[/tex]
now heat required to raise the temperature to 100 degree C
[tex]Q_2 = ms\Delta T[/tex]
[tex]Q_2 = (310 + 100)*1*(100 - 0)[/tex]
[tex]Q_2 = 41000 cal[/tex]
Now heat required to boil it off
[tex]Q_3 = mL[/tex]
[tex]Q_3 = 410*540 = 221400 cal[/tex]
now the total heat required will be
[tex]Q = Q_1 + Q_2 + Q_3[/tex]
[tex]Q = 24800 + 41000 + 221400[/tex]
[tex]Q = 287200 cal[/tex]
so it required 287200 calorie heat to boil it all water