08 2018 档案
发表于 2018-08-29 08:33阅读:285评论:0推荐:0
摘要:#include using namespace std; typedef long long LL; LL ac(int n) { LL ans=0; for(int i=1,temp;i<=n;i=temp+1) { temp=n/(n/i); ans+=(n/i)*(temp-i+1); } return ans;...
阅读全文 »
发表于 2018-08-02 16:33阅读:152评论:0推荐:0
摘要:#include<cstdio>#include<cstdlib>#include<cstring>#include<algorithm>#include<cmath>#include<iostream>using namespace std; const int N=100000+10,D=(in
阅读全文 »
发表于 2018-08-01 09:33阅读:418评论:0推荐:0
摘要:POJ 1127
阅读全文 »