Anik_Akash

URI Online Judge | 1984

Nov 22nd, 2020
473
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<bits/stdc++.h>
  2. #include <iostream>
  3. #include <fstream>
  4. #include <string>
  5. #include <algorithm>
  6. #include <cmath>
  7. #include <cstdio>
  8. #define pi           acose(-1)
  9. #define flush        cin.ignore(numeric_limits<streamsize>::max(),'\n');
  10. #define fasterio     ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
  11. #define NL           printf("\n")
  12. #define dot(x)       fixed << setprecision(x)
  13. #define fin          freopen("int.txt","r",stdin);
  14. #define fout         freopen("out.txt","w",stdout);
  15.  
  16. using namespace std;
  17. typedef long long int ll;
  18. typedef double dl;
  19.  
  20. // ---------------------- slove---------------------------//
  21.  
  22. int main()
  23. {
  24.   //fin
  25.   //fout
  26.  
  27.   string s;
  28.   getline(cin,s);
  29.     reverse(s.begin(),s.end());
  30.     cout<<s<<endl;
  31.     return 0;
  32. }
  33. //author anikaksh;
RAW Paste Data