私信TA
用户名:haikuotiankong
访问量:40116
签 名:
自我简介:
作者: 汪磊 发表时间:2018-01-06 22:38:23 浏览:537 | 评论:0
#include<iostream> #include<math.h> using namespace std; int main(){ int n,a,b,c; cin>>n; a=n%10; b=(n/10)%10; c=n/100; if(n==pow(a,3)+pow(b,3)+pow(c,3)) cout<<"YES"<<endl; else cout<<"NO"<<endl; return 0; }
0.0分
0 人评分
看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:
编程语言转换
万能编程问答
代码解释器
代码纠错
SQL生成与解释