Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- signed main() {
- string s, ans;
- getline(cin, s);
- for (const char &ch : s) {
- if (isalpha(ch)) {
- ans += ch;
- }
- }
- puts(ans.c_str());
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement