Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
128928 周荣浩 删除数字字符 C++ Accepted 83 MS 1244 KB 202 2025-08-21 10:06:35

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; char a[100000000]; int main(){ cin>>a; int b=strlen(a); for(int i=0;i<b;i++){ if(a[i]<'0'||a[i]>'9'){ cout<<a[i]; } } return 0; }