题意
从一个字符串中提取出数字
#include <iostream>
#include <string>
#include <vector>
#include <cctype>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <unordered_map>
#include <cmath>
#include <cctype>
using namespace std;
int main(){
string str;
while(getline(cin, str)){
for(auto c: str){
if(isdigit(c)) cout<<c;
}
cout<<endl;
}
return 0;
}