| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150868 | 李亭绪 | 删除数字字符 | C++ | Runtime Error | 1 MS | 276 KB | 434 | 2026-04-01 19:54:41 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<string> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int s[124],ma=-1,max; char a[255]; cin>>a; for(int i;a[i]!='\0';i++) { if(a[i]<47||a[i]>58){ cout<<a[i]; } } }
Runtime Error:Segmentation fault