Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
112194 张湘哲 删除数字字符 C++ Accepted 43 MS 1244 KB 277 2025-03-08 17:09:18

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char str[1000001]; scanf("%s",str); for(int i=0;str[i]!='\0';i++) { if(str[i]>='0'&&str[i]<='9') continue; else cout<<str[i]; } cout<<endl; return 0; }