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.
相關文章
相關標籤/搜索