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