| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144380 | 万骏博 | 删除数字字符 | C++ | Time Limit Exceeded | 1000 MS | 4164 KB | 295 | 2026-01-21 21:38:09 |
#include <bits/stdc++.h> using namespace std; string s,c; int i; void shanchu(int i,string c){ i=c.size(); for(int j=i;j>=0;j--){ if(c[j]>='0'&&c[j]<='9'){ c=c.erase(j,1); } } cout<<c; } int main(){ getline(cin,c); shanchu(i,c); return 0; }