Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
154500 李昱龙 删除数字字符 C++ Accepted 69 MS 1240 KB 233 2026-05-30 14:33:52

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; char a[1000001]; int main(){ cin.getline(a,1000001); int len=strlen(a); for(int i=0;i<=len-1;i++){ if(a[i]>=48&&a[i]<=57){ continue; } cout<<a[i]; } return 0; }