Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
101528 | 李禹宸 | 删除数字字符 | C++ | Accepted | 63 MS | 1252 KB | 224 | 2024-12-15 14:08:03 |
#include <iostream> using namespace std; int main(){ char s1[1000000]; int i=0; cin>>s1; while(s1[i]!='\0'){ if(s1[i]>='0' && s1[i]<='9'){ i++; } else{ cout<<s1[i]; i++; } } return 0; }