This calculates how many resin you have to spend before the resin overflows at the given time.
计算在给定的时间前至少需要使用多少树脂以避免树脂溢出。
Begin Time 开始时间
End Time 结束时间
Current Resin 当前树脂
0 Resins 树脂