Run ID:81922
提交时间:2024-07-12 16:12:58
#include<bits/stdc++.h> using namespace std; int main(){ char s[1000000]; cin.getline(s,1000000); for(int i = 0;i < strlen(s);i++){ if(s[i] >= 0 && s[i] <= 9){ s[i] = ' '; } } for(int j = 0;j < strlen(s);j++){ if(s[j] != ' '){ cout << s[j]; } } return 0; }