TopCoper SmartWordToy problem 解决方法,C++源码。
Problem Statement
The toy company "I Can't Believe It Works!" has hired you to help develop educational toys. The current project is a word toy that displays four letters at all times. Below each letter are two buttons that cause the letter above to change to the previous or next letter in alphabetical order. So, with one click of a button the letter 'c' can be changed to a 'b' or a 'd'. The alphabet is circular, so for example an 'a' can become a 'z' or a 'b' with one click.
Form: http://community.topcoder.com/stat?c=problem_statement&pm=3935&rd=6532