Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157579 Kevin 删除数字字符 C++ Accepted 16 MS 1904 KB 279 2026-08-01 09:54:05

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; char a[1000005]; char b[1000005]; 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; }