Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88506 陈昊然 删除数字字符 C++ Wrong Answer 0 MS 268 KB 226 2024-08-19 11:16:17

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; char c[201],a,b; int main(){ cin>>c; int n=strlen(c); int l=0; while(l<=n-1){ if(c[l]+0<=48&&c[l]+0>=57){ cout<<c[l]; } l++; } cout<<c; return 0; }


Run Info:

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