Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7046 | 柯宇希 | 水仙花数II | C++ | Runtime Error | 1994 MS | 264 KB | 607 | 2025-04-03 22:50:16 |
#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 n,m,s,c,a; bool f=false; cin>>m>>n; for(int i=m;i<=n;i++){ f=false; c=0; s=i; while(s!=0){ c+=s%10^3; s/10; } if(c=i){ cout<<i<<" "; } else a+=1; } if(a==n-m){ cout<<"no"<<endl; } return 0; }
Runtime Error:[ERROR] A not allowed system call. Call ID:275