#include<iostream>
#include<iomanip>
#include<cstring>
#include<cmath>
using namespace std;
int main(){
char a[20000],b[48]{'`','1','2','3','4','5','6','7','8','9','0','-','=',
'q','w','e','r','t','y','u','i','o','p','[',']','\\',
'a','s','d','f','g','h','j','k','l',';','\'',
'z','x','c','v','b','n','m',',','.','/'};
while(gets(a)){
for(int x=0;x<strlen(a);x++){
if(a[x]==' '){
cout<<" ";
}else{
for(int y=0;y<48;y++){
if(a[x]==b[y]){
cout<<b[y-2];
}
}
}
}
cout<<endl;
}
system("pause");
return 0;
}
沒有留言:
張貼留言