2 solutions

  • 1
    @ 2025-3-23 13:44:38
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	string n;
    	cin>>n;
    	reverse(n.begin(),n.end());
    	cout<<n;
    	return 0;
    }
    
    
    
    • 0
      @ 2024-9-11 18:36:49
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
      	string n;
      	cin>>n;
      	reverse(n.begin(),n.end());
      	cout<<n;
      	return 0;
      }
      
      
      • 1

      Information

      ID
      100
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      1
      Tags
      (None)
      # Submissions
      31
      Accepted
      22
      Uploaded By