1 #include2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 using namespace std;11 12 string keyBoardList { "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./"}; 13 14 int main()15 {16 char c;17 while(~(c = getchar()))18 {19 int i;20 for(i = 1;keyBoardList[i] && keyBoardList[i]!=c;i ++)21 ;22 if(keyBoardList[i])23 cout << keyBoardList[i-1];24 else25 cout << c;26 }27 return 0;28 }