提交时间:2023-12-10 10:09:24
运行 ID: 46621
#include<iostream> using namespace std; int main() { int m,n; cin >> m >> n; for(int i = m;i <= n;i++) { int a = i/100; int b = i/10 % 10; int c = i%10; if(a**a*a + b*b*b + c*c*c == i) { cout << i << endl; } } }