| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159719 | 赵奕杰 | 删除数字字符 | C++ | Runtime Error | 0 MS | 264 KB | 230 | 2026-09-06 14:56:28 |
#include<bits/stdc++.h> using namespace std; string a,b=""; int main(){ cin>>a; int len=a.size(); for(int i=0;i<len;i++){ if(a[i]>='0'&&a[i]<='9'){ continue; } else b[i]+=a[i]; } cout<<b; return 0; }
Runtime Error:Segmentation fault