Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
62106 李琥博 删除数字字符 C++ Accepted 42 MS 1244 KB 234 2023-12-17 12:06:51

Tests(10/10):


Code:

#include<iostream> #include<cstring> using namespace std; char a[1000000]; int main(){ scanf("%s",a); int k=strlen(a); for(int i=0;i<k;i++){ if(a[i]>='0'&&a[i]<='9'){ continue; } cout<<a[i]; } return 0; }