摘要: http://codeforces.com/contest/233/problem/Bs(x)最大为81.所以x*(x+s(x))==n假如有x存在,则x必然小于sqrt(n)。且大于sqrt(n)-82。。 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <algorithm> 5 #include <cmath> 6 7 using namespace std; 8 9 long long n,ans;10 11 int getsu 阅读全文
posted @ 2012-10-12 19:06 Missa 阅读(203) 评论(0) 推荐(0) 编辑