4 条题解
- 1
信息
- ID
- 77
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 5
- 标签
- (无)
- 递交数
- 2184
- 已通过
- 854
- 上传者
#include<stdio.h> #include<math.h> int main() { int x; scanf("%d",&x); int a,b,c; a=x/100; b=x/10%10; c=x%100%10; if(x==pow(a,3)+pow(b,3)+pow(c,3)) { printf("TRUE"); } else if(x!=pow(a,3)+pow(b,3)+pow(c,3)) printf("FALSE"); return 0; }