随笔分类 -  数学__数论

摘要:与此题几乎一样。(https://blog.csdn.net/acdreamers/article/details/23039571) 不过注意,好像出题人赛后加强数据了,在枚举0-k的时候,里面最多只能有一个快速幂,其他的都尽量用变量迭代代替。要不然t飞。 #include<bits/stdc++ 阅读全文
posted @ 2020-07-22 17:07 Ketchum 阅读(197) 评论(0) 推荐(0)
摘要:转载自https://blog.csdn.net/new_ke_2014/article/details/21829921 #include <iostream> using namespace std; #define LL __int64 LL w; struct Point//x + y*sq 阅读全文
posted @ 2020-07-22 14:37 Ketchum 阅读(124) 评论(0) 推荐(0)