![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
递归
deebcjrb
这个作者很懒,什么都没留下…
展开
-
Books Exchange (hard version)(记忆化数组)Codeforces Round #595 (Div. 3)
原题目:There are nn kids, each of them is reading a unique book. At the end of any day, the ii -th kid will give his book to the pipi -th kid (in case of i=pii=pi the kid will give his book to himself)...原创 2019-11-10 23:52:42 · 179 阅读 · 0 评论 -
Codeforces Round #595 (Div. 3) Books Exchange (easy version)
原题目:The only difference between easy and hard versions is constraints.There are nn kids, each of them is reading a unique book. At the end of any day, the i-th kid will give his book to the pi-th...原创 2019-11-06 14:02:51 · 153 阅读 · 0 评论