| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 62723 | 谢绍澜 | 删除数字字符 | C++ | Wrong Answer | 1 MS | 276 KB | 294 | 2023-12-25 19:44:59 |
#include<iostream> #include<cstdio> using namespace std; int main(){ char a[1000001]; int i=-1; cin>>a; while(a[i]!='\0'){ i++; if(a[i]>='0'&&a[i]<='9') continue; else cout<<a[i]; } return 0; }
------Input------
vvvv23kjhg4lllk89766gff
------Answer-----
vvvvkjhglllkgff
------Your output-----