#include<stdio.h>
#include<string.h>
char s1[]="`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./";
char a[128];
char s2[1000];
int main(){
for(int i=1;i<sizeof(s1)/sizeof(char);i++){
a[s1[i]]=s1[i-1];
}
a[' ']=' ';
while(gets(s2)){
int l2=strlen(s2);
for(int i=0;i<l2;i++){
printf("%c",a[s2[i]]);
}
printf("\n");
}
return 0;
}
/**************************************************************
Problem: 1093
User: cust123
Language: C++
Result: Accepted
Time:0 ms
Memory:1020 kb
****************************************************************/
题目1093:WERTYU
最新推荐文章于 2022-03-05 07:46:33 发布