BZOJ1968: [Ahoi2005]COMMON 约数研究
题目传送门
题解 : 这题巨水。。 我们认为数字大小为i的数字在i-n范围内的倍数有n/i个, 所以 这道题就做完了QAQ
#include
#define ll long long
const int INF = 0x7fffffff;
const double eps = 1e-5;
using namespace std;
int read()
{
int x = 0
原创
2017-05-21 20:27:03 ·
230 阅读 ·
0 评论