Run ID:81941

提交时间:2024-07-12 16:22:04

#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'){ cout << s[i]; } } return 0; }