I guess you were right. I used q(p) = w done by the heater and ignored the work done by the liquid. Then, delta H = q(p) = integral(T1,T2) C(p)dT and came up with 310k which, according to the back of the book, is the right answer.
Thanks guys for the help.