GO Solution For UVa 10082 - WERTYU. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

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 Input consists of several lines of text. Each line may contain digits, spaces,

...

You can find the full details of the problem WERTYU at UVa Online Judge

Sample Input

O S, GOMR YPFSU/  JPE STR UPI
YJR WIOVL NTPEM GPC KI,[D PBRT YJR ;SXU FPH/
1234567890-=
WERTYUIOP[]\
SDFGHJKL;'
XCVBNM,./

Sample Output

I AM FINE TODAY.  HOW ARE YOU
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.
`1234567890-
QWERTYUIOP[]
ASDFGHJKL;
ZXCVBNM,.

Solution: Please check the main.go snippet for the solution.

Solution originally posted at: Github by @codingsince1985