| 记录编号 | 548868 | 评测结果 | AAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 368.水仙花数 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.000 s | ||
| 提交时间 | 2020-02-01 13:36:33 | 内存使用 | 0.00 MiB | ||
#include<bits/stdc++.h>
using namespace std;
int cube(int t){
	return t*t*t;
}
int mian(){
	freopen("daff.in","r",stdin);
	freopen("daff.out","w",stdout);
	int m,n,p;
	scanf("%1d%1d%1d",&m,&n,&p);
	if(cube(m)+cube(n)+cube(p)==100*m+10*n+p){
		printf("TRUE\n");
	}
	else{
		printf("FALSE\n");
	}
	return 0;
}
int mina=mian();
int main(){;}