Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144383 万骏博 删除数字字符 C++ Wrong Answer 0 MS 268 KB 300 2026-01-21 21:48:57

Tests(0/10):


Code:

#include <bits/stdc++.h> using namespace std; string s,c; int i; void shanchu(int i,string c){ i=c.size(); for(int j=i;j>=0;j--){ if(c[j]>='0'&&c[j]<='9'){ } else{ cout<<c[j]; } } } int main(){ getline(cin,c); shanchu(i,c); return 0; }


Run Info:

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