摘要: 链接:https://codeforces.com/contest/1215/problem/B You are given a sequence a1,a2,…,ana1,a2,…,an consisting of nn non-zero integers (i.e. ai≠0ai≠0). You 阅读全文
posted @ 2019-09-30 18:22 N_Yokel 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6740 中文题意链接:http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1010&cid=872 题解:反向用next数组求循环节(前i 阅读全文
posted @ 2019-09-30 17:31 N_Yokel 阅读(195) 评论(0) 推荐(0) 编辑