Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81935 张黄源 删除数字字符 C++ Wrong Answer 1 MS 280 KB 213 2024-07-12 16:19:30

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char s[1000000]; cin>>s; for(int i=0;i<strlen(s);i++){ if(s[i]<='9'&&s[i]>='0'){ s[i]=0; }else{ cout<<s[i]; } } return 0; }


Run Info:

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