Posted by Admin on 1/24/2011 12:01 AM | Comments (0)
You are provided with four possible operations that can be done on the editor(each operation requires 1 keyboard hit) 

1. A 
2. Ctrl+A 
3. Ctrl+C 
4. Ctrl+V
Now you can hit the keyboard N times and you need to find the maximum number of A's that can be printed. Also print the sequence of keyboard hits.
Comments are closed