Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80400 李雨昊 删除数字字符 C++ Wrong Answer 0 MS 280 KB 213 2024-07-11 14:19:56

Tests(0/10):


Code:

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


Run Info:

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