Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
2751 莫业祁 删除数字字符 C++ Wrong Answer 0 MS 268 KB 316 2024-01-22 13:56:07

Tests(0/10):


Code:

# include<iostream> using namespace std; int main(){ char s[1000001],o[1000001]; cin>>s; int i=0,j=0; while(s[i]!='\0'){ if(s[i]>48&&s[i]<58){ } else{ cout<<s[i]; j++; } i++; } return 0; }


Run Info:

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