Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
111905 | 刘佳宇 | 删除数字字符 | C++ | Accepted | 60 MS | 3184 KB | 238 | 2025-03-08 10:33:45 |
#include<bits/stdc++.h> using namespace std; int main(){ string s1; cin>>s1; int len=s1.size(); for(int i=0;i<len;i++){ if(s1[i]>='0'&&s1[i]<='9'){ continue; } cout<<s1[i]; } return 0; }