摘要: ``` #include #define LL long long using namespace std; namespace Poly { const int mod=998244353,_G=3,_Gi=332748118,Mx=2100000; int _w[Mx+2],_inv[Mx+2] 阅读全文
posted @ 2022-06-26 22:27 18Michael 阅读(62) 评论(0) 推荐(0) 编辑
摘要: chen_03 Orz! 题意 给定长度为 \(n\) 的数组 \(a\),\(Q\) 次询问 \(\operatorname{lcm}\left(a_l, a_{l + 1}, \ldots , a_{r - 1}, a_r\right)\),对 \({10}^9 + 7\) 取模。 题解 对于每 阅读全文
posted @ 2022-06-26 22:27 18Michael 阅读(79) 评论(0) 推荐(0) 编辑