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

Tests(1/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]>='1'){ }else{ cout<<s[i]; } } return 0; }


Run Info:

------Input------
1ac8908ABBBCGDFSG
------Answer-----
acABBBCGDFSG
------Your output-----
ac0ABBBCGDFSG