| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 62606 | 段文昊 | 删除数字字符 | C++ | Accepted | 62 MS | 1252 KB | 236 | 2023-12-24 16:55:08 |
#include<bits/stdc++.h> using namespace std; int main() { char s[1000001]; cin>>s; int n=strlen(s); for(int i=0;i<n;i++){ if(s[i]>='0' && s[i]<='9'){ s[i]='\0'; } else{ cout<<s[i]; } } return 0; }