10 lines
240 B
C
10 lines
240 B
C
#include <stdio.h>
|
|
#define putbool(x) (printf("%s", (x) ? "TRUE" : "FALSE"))
|
|
#define cube(x) ((x) * (x) * (x))
|
|
|
|
int main() {
|
|
int n;
|
|
scanf("%d", &n);
|
|
putbool(cube(n % 10) + cube(n / 10 % 10) + cube(n / 100) == n);
|
|
return 0;
|
|
} |