Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
62722 谢绍澜 删除数字字符 C++ Wrong Answer 1 MS 264 KB 249 2023-12-25 19:41:22

Tests(0/10):


Code:

#include<iostream> #include<cstdio> using namespace std; int main(){ char a[1000001]; int i=0; scanf("%s",a); while(a[i]!='\0'){ if(a[i]<'0'&&a[i]>'9') cout<<a[i]; i++; } return 0; }


Run Info:

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