Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146429 令狐文丽 删除数字字符 C++ Accepted 57 MS 1256 KB 283 2026-01-28 14:17:59

Tests(10/10):


Code:

#include<iostream> using namespace std; int main (){ char str[1000001]; int i=0; cin>>str; while(str[i]!='\0'){ if(str[i]>='0' && str[i]<='9') { i++; continue; }else{ cout<<str[i]; i++; } } return 0; }