| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 127893 | 袁龙浩 | 删除数字字符 | C++ | Wrong Answer | 0 MS | 268 KB | 530 | 2025-07-29 19:46:58 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; char a[1000000]; int main(){ int s=0,t=0; cin>>a; for(int i=0;a[i]!='\0';i++) s++; for(int i=0;i<s;i++){ if(a[i]>='0' && a[i]<='9'){ continue; } else{ cout<<a[i]; } } cout<<a; return 0; }
------Input------
vvvv23kjhg4lllk89766gff
------Answer-----
vvvvkjhglllkgff
------Your output-----
vvvvkjhglllkgffvvvv23kjhg4lllk89766gff