Loading

摘要: P3384 【模板】轻重链剖分 #include<bits/stdc++.h> using namespace std; int readint(){ int x = 0; int f = 1; char ch = getchar(); while(ch < '0' || ch > '9') { i 阅读全文
posted @ 2020-11-02 22:06 MQFLLY 阅读(129) 评论(0) 推荐(0) 编辑
摘要: LibreOJ - 530 最小倍数 数论,按位贪心 题意 给定$p$,求最小的正整数$n$,使得$n! $ $mod $ $ p =0$ 由于$p$很大,输入将给出质因子的分解形式,输入将给出$m$和$e_1,e_2,...e_m$,表示$p = \prod pr^_$ $pr_i$表示从小到大的 阅读全文
posted @ 2020-11-02 16:35 MQFLLY 阅读(148) 评论(0) 推荐(0) 编辑