CF#248DIV2:B. Kuriyama Mirai's Stones(線段樹)

Kuriyama Mirai has killed many monsters and got many (namely n) stones. She numbers the stones from 1 to n. The cost of the i-th stone is vi. Kuriyama Mirai wants to know something about these stones
相關文章
相關標籤/搜索