Monday, April 24, 2017

uva problem-12897 Decoding baby boss

problem link:


discussion: if you do this program just like compare every element in every exchange  then you will got time limit. so, to avoid this you just set your alphabet order then replace them with desire character. and last compare your alphabet set and replace main string.


try your self first then if you can't see the code,otherwise you can't improve yourself in programming.