问题:
源代码:
#include<stdio.h>
int main()
{
int i,t=0,k;
int a[3]={0};
for(i=2;i<=1000;i++)
{
k=i;
while(k)
{
a[t]=k%10;
k=k/10;
t++;
}
if(i==a[0]*a[0]*a[0]+a[1]*a[1]*a[1]+a[2]*a[2]*a[2])
printf("%d",i);
}
printf("\n");
}
标签:25,10,int,printf,打卡,源代码 From: https://www.cnblogs.com/ykznlxx/p/17406509.html