Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88509 | 王馨桐 | 删除数字字符 | C++ | Accepted | 79 MS | 1248 KB | 220 | 2024-08-19 11:18:56 |
#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; }