Run ID:138724

提交时间:2025-11-29 16:16:43

#include<bits/stdc++.h> using namespace std; int main(){ int m,n,f=0; scanf("%d%d",&m,&n); for(int x=m;x<=n;x++){ if((x%10)*(x%10)*(x%10)+(x/10%10)*(x/10%10)*(x/10%10)+(x/100)*(x/100)*(x/100)==x){ printf("%d",x); f++; } } if(f==0)cout<<"no"; return 0; }