Capygrad

CF1859D Andrey and Escape from Capygrad 题解

## 思路 思考贪心,容易得出我们只有不断往右跳跃才能走得更远。 所以,对于一个线段 $[l, r]$ 可以轻易到达 $[a, b]$,那么只对 $[l, b]$ 有用,这些点都可以跳到 $b$,$[b + 1, r]$ 这一部分不能往回跳,所以不用考虑。 那么我们就可以把这些线段都当成 $[l, ......
题解 Capygrad Andrey Escape 1859D

D. Andrey and Escape from Capygrad

D. Andrey and Escape from Capygrad An incident occurred in Capygrad, the capital of Tyagoland, where all the capybaras in the city went crazy and star ......
Capygrad Andrey Escape from and
共2篇  :1/1页 首页上一页1下一页尾页