| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81971 | 刘轻松 | 删除数字字符 | C++ | Accepted | 62 MS | 1248 KB | 258 | 2024-07-12 16:30:47 |
#include<iostream> #include<cstring> using namespace std; char s[1000000]; int main(){ cin>>s; int s_l = strlen(s); for(int i=0;i<s_l;i++){ if(s[i]>='0' &&s[i]<='9'){ continue; } else{ cout<<s[i]; } } return 0; }