- 博客(4)
- 收藏
- 关注
转载 Codeforces805
A.Fake NP 题意:给定两个整数L R,求[L,R]中公因子不为1的数的最大个数。 题解:显然要想数量尽量多,公因子就不会很大,所以枚举公因子(素数)即可,注意特判L==R的情况 代码: #include <cstdio> #include <cstring> #include <cstdlib> #include <...
2019-03-15 20:04:00 257
转载 Codeforces357
A.Group of Students 代码: #include <cstdio> #include <cstring> #include <cstdlib> #include <iostream> #include <algorithm> using namespace std; const int...
2019-03-12 20:36:00 201
转载 Codeforces1079
A.Kitchen Utensils 代码: #include <cstdio> #include <cstring> #include <cstdlib> #include <iostream> #include <algorithm> using namespace std; const int ...
2019-03-06 16:51:00 211
转载 Codeforces1099
A.Snowball 代码: #include <cstdio> #include <climits> #include <cstring> #include <cstdlib> #include <iostream> #include <algorithm> using namespace ...
2019-03-05 17:08:00 220
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人