#include<bits/stdc++.h>
using namespace std;
#define re register
#define ull unsigned long long
int main()
{
ull res,res2;
ull ct=0;
ull maxn = 2021041820210418;
for(re ull i =1;i<=300000;++i)
{
if(maxn%i==0)
{
res=maxn/i;
for(re ull j=i;j*j<=res;++j)
{
if(res%(j)==0)
{
ull k = res/j;
printf("%lld,%lld,%lld\n",i,j,k);
//if(k<j) continue;
if(i==j==k) ct++;
else if((i==j&&j!=k)||(i==k&&i!=j)||(j==k&&j!=i))ct=ct+3;
else ct=ct+6;
}
}
}
}
printf("%lld",ct);
return 0;
}
蓝桥杯 货物摆放
最新推荐文章于 2024-03-11 19:49:54 发布