DWITE '07 R1 #3 - Where's my QWERTY?

View as PDF

Submit solution

Points: 3
Time limit: 2.0s
Memory limit: 64M

Problem type
DWITE Online Computer Programming Contest, October 2007, Problem 3

The Dvorak Simplified Keyboard is a keyboard layout patented in 1936 by Dr. August Dvorak, an educational psychologist and professor of education at the University of Washington in Seattle as an alternative to the more common QWERTY layout.

If someone was to have Dvorak enabled on their computer, and a guest was to start typing, expecting the standard QWERTY layout - text will come out as nonsense. You are to write a program to de-scramble any such message.

The input will contain a single line of text, made up of any of the letters, numbers, and symbols found on a typical keyboard. There will be less than 256 characters in the line, and it will not end in a space.

The output will contain a single translated line of text.

Sample Input

D.nnr <rpne!

Sample Output

Hello World!

Problem Resource: DWITE

Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported

Comments

There are no comments at the moment.