Go through the Link Of the question b4 reading the follwing lines
Link of the Question:-http://www.codechef.com/problems/DIVGOLD/
In The question it has been asked that we are allowed to perform only one ty[e of operation i.e:
Choose any position in the string, remove the character at that position and insert it back to any other place in the string.
eg:DCBA
ADCB
The above solution is possible if only one opeartion is possible
My solution:http://www.codechef.com/viewsolution/6985922
Following strictly that only one opearation si possible I am getting WA.
Plz help