Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7503 | 吴承熹 | 删除数字字符 | C++ | Runtime Error | 1996 MS | 2216 KB | 484 | 2025-05-03 08:34:22 |
#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; char a[1000000]; int main(){ cin>>a; int i=0; while(a[i]!='\0'){ if(isdigit(a[i])){ for(int e=i;e<=1000000;e++){ a[e]=a[e+1]; } } } cout<<a; return 0; }
Runtime Error:[ERROR] A not allowed system call. Call ID:275