Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
62474 何睿哲 删除数字字符 C++ Accepted 39 MS 1240 KB 246 2023-12-23 21:27:02

Tests(10/10):


Code:

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