Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157601 汪明轩 删除数字字符 C++ Wrong Answer 1 MS 260 KB 216 2026-08-04 13:33:16

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; char a[1000003]; int main(){ gets(a); int len=strlen(a); for(int i=0;i<len;i++){ if(!a[i]>='0'&&!a[i]<='9'){ cout<<a[i]; } } cout<<a; return 0; }


Run Info:

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