Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129590 陈奕涵 水仙花数II C++ Compile Error 0 MS 0 KB 520 2025-08-29 14:46:45

Tests(0/0):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b,c=0; cin>>a>>b; for(int x=1;x<m;x++){ int t=i%10; t=t*t*t; int tt=i/10%10; t+=tt*tt*tt; tt=i/100; t=tt*tt*tt; if(t==i){ if(c==0) cout<<i; else cout<<" "<<i; c++; } } if(c==0) cout<<i; cout<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:16: error: 'm' was not declared in this scope
  for(int x=1;x