摘要: Description 某天,Lostmonkey发明了一种超级弹力装置,为了在他的绵羊朋友面前显摆,他邀请小绵羊一起玩个游戏。游戏一开始,Lostmonkey在地上沿着一条直线摆上n个装置,每个装置设定初始弹力系数ki,当绵羊达到第i个装置时,它会往后弹ki步,达到第i+ki个装置,若不存在第i+ 阅读全文
posted @ 2017-09-28 22:33 抓不住Jerry的Tom 阅读(198) 评论(0) 推荐(0)
摘要: D. Vanya and Treasure D. Vanya and Treasure Vanya is in the palace that can be represented as a grid n × m. Each room contains a single chest, an the 阅读全文
posted @ 2017-09-28 21:41 抓不住Jerry的Tom 阅读(267) 评论(0) 推荐(0)