Description: Equivalent to not press each button press or by pressing a button twice, a total of 2 ^ 4 = 16 states. Enumerate each button is pressed to terminate the unlikely event that a timely manner according to the total number of keys, pay attention to the role of the button 1 == the button 2+ button, c 4 == 2 Note the sum = 1. Although the lights up to 100, after six lights are the top six replicates, so just save the six states. Finally, all the right sort output.
To Search:
File list (Check if you may need any files):
a.cpp