点赞
2026-05-26 22:08:04
发布于:上海
5阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
int ge = n%10;
int shi = n/10%10;
int bai = n/100;
if(ge*ge*ge+shi*shi*shi+bai*bai*bai == n){
cout << "YES";
}else cout << "NO";
return 0;
}
这里空空如也





有帮助,赞一个