Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
163453 王安安 删除数字字符 C++ Accepted 79 MS 3180 KB 242 2026-10-25 12:30:28

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ string n; cin>>n; int n1=0; while(n[n1]){ n1++; } for(int i=0;i<n1;i++){ if(n[i]>='0' and n[i]<='9'){ continue; }else{ cout<<n[i]; } } return 0; }