Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
61493 刘济玮 删除数字字符 C++ Accepted 60 MS 1256 KB 314 2023-12-09 17:27:08

Tests(10/10):


Code:

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