Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98339 Kevin 删除数字字符 C++ Accepted 13 MS 1896 KB 262 2024-11-19 15:27:16

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; char a[1000000],b[1000000]; int l; int main(){ gets(a); int len=strlen(a); for(int i=0;i<len;i++){ if(a[i]>='0'&&a[i]<='9'){ continue; } else b[l++]=a[i]; } puts(b); return 0; }