fork download
  1. //Bai3
  2.  
  3. #include<bits/stdc++.h>
  4. using namespace std;
  5. #define el "\n"
  6. #define ll long long
  7. #define ull unsigned long long
  8. #define se second
  9. #define fi first
  10. #define be begin
  11. #define en end
  12. #define Faster cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0);
  13.  
  14. void Run(string s)
  15. {
  16. cin >> s;
  17. for(int i = s.size() - 1; i >= 0; i--) cout << s[i];
  18. }
  19. int main()
  20. {
  21. Faster;
  22. string s;
  23. Run(s);
  24. return 0;
  25. }
  26.  
  27.  
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
Standard output is empty