摘要:
欧几里得算法 #include<iostream> #include<cstdio> using namespace std; int x,y; int gcd(int a,int b){ if(b==0) return a; return gcd(b,a%b); } int lcm(int a,i 阅读全文
posted @ 2021-03-06 21:30
DReamLion
阅读(87)
评论(0)
推荐(0)
摘要:
Luogu P3383线性筛素数 #include<iostream> #include<cstdio> #include<cstdlib> #define maxn 100000010 using namespace std; template<typename T> inline void re 阅读全文
posted @ 2021-03-06 21:26
DReamLion
阅读(42)
评论(0)
推荐(0)

浙公网安备 33010602011771号