The Preliminary Contest for ICPC China Nanchang National Invitational I. Max answer(单调栈 + rmq)
题目:
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.
...
原创
2019-05-04 17:45:17 ·
173 阅读 ·
0 评论