Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79880 李雨昊 删除数字字符 C++ Wrong Answer 1 MS 276 KB 239 2024-07-10 19:53:44

Tests(0/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ char a[1000001]; cin>>a; int b=0; b=strlen(a); for(int i=0;i<=b;i++) { if(a[i]<'0'||a[i]>'9'){ cout<<a[i]; } } return 0; }


Run Info:

------Input------
vvvv23kjhg4lllk89766gff
------Answer-----
vvvvkjhglllkgff
------Your output-----
vvvvkjhglllkgff