#include<stdio.h> #include<math.h> int main() { int x,y,z,A,B; scanf("%d",&A); x=A/100; y=A%100/10; z=A%100%10; B=pow(x,3)+pow(y,3)+pow(z,3); if(A==B) printf("TRUE"); else printf("FALSE"); return 0; }
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 追梦算法网 universal account