Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81991 刘慕莀 删除数字字符 C++ Wrong Answer 1 MS 268 KB 227 2024-07-12 16:36:44

Tests(0/10):


Code:

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


Run Info:

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