The Preliminary Contest for ICPC China Nanchang National Invitational I. Max answer(单调栈 + rmq)

题目:html  11.46%  3000ms  262144K Alice has a magic array. She suggests that the value of a interval is equal to the sum of the values in the interval, multiplied by the smallest value in the interval.
相关文章
相关标签/搜索