文章详情
时间:2010-06-22 来源:静止的流水
#include<iostream> using namespace std; int daffodil(int num){ int h=num/100; int d=num%100/10; int u=num%10; return h*h*h+d*d*d+u*u*u; } int main(){ for(int i=100;i<1000;i++){ if(i==daffodil(i)) cout<<i<<" = "<<daffodil(i)<<endl; } return 0; }
辰域智控app
网医联盟app
汇丰汇选App
1970-01-01