unsigned long f(unsigned long n, unsigned long index)
{
return n + (62 << index) + 48;
}
int main()
{
unsigned long u = 0;
printf("请输入你要求的结果数值(注,输入的数值不能超过62的大小,超过的大小会被截断。\n");
scanf("%u",&u);
u = u % 62;
printf("你输入的数值是:%u\n",u);
printf("开始计算满足\"%u\"的所有数值。\n",u);
printf("%u\n",u+48);
for (unsigned long i = 0; i < 28; i++)
{
printf("%u\n",f(u,i));
}
system("pause");
return 0;
}