Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88520 | 田苒彤 | 删除数字字符 | C++ | Accepted | 71 MS | 1248 KB | 231 | 2024-08-19 11:26:37 |
#include<bits/stdc++.h> using namespace std; char s[1000000]; int main() { cin>>s; int n=strlen(s); for(int i=0;i<=n-1;i++){ if(s[i]>=48&&s[i]<=57){ }else{ cout<<s[i]; } } return 0; }