提交时间:2022-02-10 12:06:34
运行 ID: 32171
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a==(a/100)*(a/100)*(a/100)+(a%100/10)*(a%100/10)*(a%100/10)+(a%10)*(a%10)*(a%10)) cout<<"Yes"; else cout<<"No"; return 0; }