| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68512 | 孙诗皓 | 删除数字字符 | C++ | Runtime Error | 1 MS | 364 KB | 315 | 2024-03-23 16:50:22 |
#include<iostream> #include<cstring> #include<cmath> using namespace std; int main() { char a[100000]; int l=0; scanf("%s",a); for(int i=0;a[i]!='\0';i++) { if(a[i]>='0' && a[i]<='9') continue; else cout<<a[i]; } return 0; }
Runtime Error:Segmentation fault