摘要: A.Jzzhu and Children 计算每个人会出现的轮次数,取最后一个且轮次数最大的,注意是用a[i]-1 % m,倒着扫一遍就行了#include #include #include using namespace std;const int maxn = 100+10;int n, m... 阅读全文
posted @ 2014-07-25 14:34 Gemmeg 阅读(163) 评论(0) 推荐(0) 编辑