- 博客(5)
- 收藏
- 关注
转载 2019 WFU Summer training (一)
1.vector 题目:https://vjudge.net/contest/310193#problem/A 代码: #include<cstdio> #include<string> #include<vector> #include<iostream> using namespace std; const int ...
2019-07-21 18:24:00 104
转载 数论常用模板
1.埃式筛素数 const int maxn=1e6+10; bool isprime[maxn]; int prime[maxn]; int cnt=0; void Prime() { memset(isprime,false,sizeof(isprime)); isprime[0]=isprime[1]=true; for(i...
2019-06-09 19:51:00 202
转载 大数整除
题目:LightOJ :: Problem 1214 - Large Division Given two integers, a and b, you should check whether a is divisible by b or not. We know that an integer a is divisible by an integer b if and only i...
2019-06-09 18:31:00 149
转载 因子个数与因子和
题目:LightOJ:1341 - Aladdin and the Flying Carpet(因子个数) It's said that Aladdin had to solve seven mysteries before getting the Magical Lamp which summons a powerful Genie. Here we are concerned ab...
2019-06-03 19:56:00 111
转载 欧拉∮函数
题目:LightOJ 1370 - Bi-shoe and Phi-shoe (欧拉函数思想) Bamboo Pole-vault is a massively popular sport in Xzhiland. And Master Phi-shoe is a very popular coach for his success. He needs some bamboos for...
2019-06-03 19:37:00 170
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人