摘要: Bryce1010模板先找到数组A中的循环节,再找到数组B中的循环节,如果B中的循环节是A中循环节的循环因子,说明可以配对,结果累积起来。#includeusing namespace std;const int MAXN=1e6+10;const int MOD=1... 阅读全文
posted @ 2018-06-18 20:16 Bryce1010 阅读(93) 评论(0) 推荐(0) 编辑
摘要: Bryce1010模板#include using namespace std;#define LL long longint main(){ LL n,k; LL ca=1; while(cin>>n>>k) { if(k<=n... 阅读全文
posted @ 2018-06-18 20:13 Bryce1010 阅读(71) 评论(0) 推荐(0) 编辑
摘要: Bryce1010模板#include using namespace std;#define LL long longint main(){ int m,k; int ca=1; while(cin>>m) { if(m<64)... 阅读全文
posted @ 2018-06-18 20:11 Bryce1010 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 好菜啊!A - Add More Zero签到题,两边取log10K - KazaQ’s Socks第二个签到题 很容易发现是个找规律F - Function要知道怎么找循环节最重要!B-Balala Power!贪心思想 阅读全文
posted @ 2018-06-18 20:07 Bryce1010 阅读(53) 评论(0) 推荐(0) 编辑