Untitled
Mohammed
plain_text
10 months ago
234 B
4
Indexable
#include <iostream>
#include<algorithm>
using namespace std;
int main() {
string s;
cin>>s;
string t=s;
sort(s.begin(),s.end());
if (s==t)
cout<<"original"<<endl;
else
cout<<s<<endl;
}Editor is loading...
Leave a Comment