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


  • 0
    gavin_chen  commented on June 25, 2022, 8:32 p.m.

    cu frg ,aoy.e frgp ycm. ypfcbi yr ucigp. rgy ,day ydco p.aeow c-m orppf


  • 1
    Dan13llljws  commented on Jan. 17, 2020, 7:21 a.m.

    bruce does all the homework problems he gives except for this one.


  • 2
    Aaeria  commented on Jan. 16, 2020, 6:27 p.m.

    !Q#$%&q()*}w'e[0123456789ZzW]E{@ANIHDYUJGCVPMLSRXO:KF><BT?-\=^\"`anihdyujgcvpmlsrxo;kf.,bt/_|+~


    • 5
      leonzalion  commented on Jan. 17, 2020, 3:03 a.m.

      `1234567890[]',.pyfgcrl/=\\aoeuidhtns-;qjkxbmwvz~!@#$%^&*(){}\"<>PYFGCRL?+|AOEUIDHTNS_:QJKXBMWVZ

      `1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>?

      Easy when you actually use DVORAK


      • 1
        narwhalblast  commented on May 5, 2020, 3:00 p.m.

        us dvorak users are very underrepresented :pensive: