| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 62104 | 李琥博 | 删除数字字符 | C++ | Wrong Answer | 1 MS | 272 KB | 235 | 2023-12-17 12:01:58 |
#include<iostream> #include<cstring> using namespace std; int main(){ char a[1000000]; scanf("%s",a); int k=strlen(a); for(int i=0;i<k;i++){ if(a[i]>='1'&&a[i]<='9'){ continue; } cout<<a[i]; } return 0; }
------Input------
1ac8908ABBBCGDFSG
------Answer-----
acABBBCGDFSG
------Your output-----
ac0ABBBCGDFSG