阅读背景:

线段树,树状数组

来源:互联网 

线段树的考题,当然其实也可以用树状数组去解决的:

题目:

`One day, little Vasya found himself in a maze consisting of (n + 1) rooms, numbered from 1 to (n + 1). Initially, Vasya is at the first room and to get out of the maze, he needs to get to the (n + 1)-th one.`One day, litt




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: