• [C] Code Of Keyboard

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • Death-Moon loves telling stories.
    Some days ago, he told us a sad story.

    Nowadays, more and more programmers are in Sudden death. So, he hopes us to hold.
    So, here is a question coming.

    A common typing error is to place the hands on the keyboard one row to the right of the correct position. So "Q" is typed as "W" and "J" is typed as "K" and so on. You are to decode a message typed in this manner.
  • 输入
  • Input consists of several lines of text.
    Each line may contain digits, spaces, upper case letters (except Q, A, Z), or punctuation shown above [except back-quote (`)]. Keys labelled with words [Tab, BackSp, Control, etc.] are not represented in the input.
  • 输出
  • You are to replace each digit, letter or punctuation symbol by the one immediately to its left on the QWERTY keyboard shown above. Spaces in the input should be echoed in the output.
  • 样例输入
  • O S, GOMR YPFSU/
  • 样例输出
  • I AM FINE TODAY.
  • 提示
  • 来源
  • hungar
  • 操作

显示春菜