先把p,q求出来 #include<iostream>#include<cmath>using namespace std;typedef long long ll;int main(){ll n = 1001733993063167141LL, sqr = sqrt(n);for(ll i = 2; i <= sqr; i++){if(n % i == 0){printf("%lld
A立方和 #include<iostream>#include<cmath>using namespace std;int main(){int n, t, flag, x;long long ans = 0;for(int i = 1; i <= 2019; i++){t = i;flag = 0;while(t && !flag){x = t % 10;if(x == 2 || x =
3725573269 #include<iostream>#include<map>#include<string>using namespace std;int main(){map<char, int> mp;string s = "LANQIAO";long long ans = 0, power = 1;//7位数的26进制可能会超过int范围for(int i = 1; i