博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
luoguP1390 公约数的和 数学推导_双倍经验
阅读量:4512 次
发布时间:2019-06-08

本文共 448 字,大约阅读时间需要 1 分钟。

Code:

#include 
#include
#define setIO(s) freopen(s".in","r",stdin)#define ll long long #define ull unsigned long long #define maxn 3000000#define mod 1000000007 #define inv 500000004 using namespace std;using namespace tr1;int vis[maxn],prime[maxn],tot; ll phi[maxn]; unordered_map
ansphi;void init(){ phi[1] = 1; for(int i=2;i

  

转载于:https://www.cnblogs.com/guangheli/p/10542327.html

你可能感兴趣的文章
codeforces A. Vasily the Bear and Triangle 解题报告
查看>>
tarjan求强连通分量
查看>>
几个机器学习上的概念
查看>>
golang——concurrency笔记
查看>>
iOS 8 by Tutorials (section2:开始自适应布局)
查看>>
git fetch 和 git pull 的区别
查看>>
为Linux服务器设置静态IP的方法
查看>>
关于瑞昱8763bfr的学习总结(1)
查看>>
并发策略-CAS算法
查看>>
Oracle数据库当前连接的用户下的所有表结构、视图、索引
查看>>
[Effective JavaScript 笔记]第4章:对象和原型--个人总结
查看>>
解释器路径
查看>>
Linux common clock framework(2)_clock provider
查看>>
报错: Your dtc is too old, please upgrade to dtc 1.4 or newer. (dtc文件)
查看>>
spring资料
查看>>
LNMP环境搭建:Nginx安装、测试与域名配置
查看>>
python实训day3
查看>>
函数参数传递
查看>>
模拟Linux修改实际、有效和保存设置标识
查看>>
C# 操作word (转)
查看>>