RT
ans+=(w[i].y-w[i-1].y)*(ll)t[rot].sum;
在这一句中,ans是longlong,sum是不可能爆int的,为啥要在啊sum前加一个(longlong)在能对,不然就爆int了