Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80408 李雨昊 删除数字字符 C++ Wrong Answer 1 MS 284 KB 215 2024-07-11 14:21:42

Tests(0/10):


Code:

#include<cstring> #include<iostream> using namespace std; int main() { char a[10000001]; 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