fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main(){
  5. ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);
  6. string s; cin >> s;
  7. long long i = 0,kq =0;
  8. while (i < s.size()){
  9. kq = kq * 10 + (s[i] - '0');
  10. if (kq >= 97 && kq <= 122) {
  11. cout << (char)kq;
  12. kq = 0;
  13. }
  14. i++;
  15. }
  16. return 0;
  17. }
Success #stdin #stdout 0s 5268KB
stdin
Standard input is empty
stdout
Standard output is empty