#include<iostream>
#include<string>
using namespace std;
int main()
{
string str;
while(cin>>str)
{
for(int i=0;i<str.size();i++)
{
if(str[i]>='A'&&str[i]<'Z')
{
str[i]=str[i]+33;
}
else if(str[i]>='0'&&str[i]<='9')
{
str[i]=str[i];
}
else if(str[i]=='a'||str[i]=='b'||str[i]=='c')
{
str[i]='2';
}
else if(str[i]=='d'||str[i]=='e'||str[i]=='f')
{
str[i]='3';
}
else if(str[i]=='g'||str[i]=='h'||str[i]=='i')
{
str[i]='4';
}
else if(str[i]=='j'||str[i]=='k'||str[i]=='l')
{
str[i]='5';
}
else if(str[i]=='m'||str[i]=='n'||str[i]=='o')
{
str[i]='6';
}
else if(str[i]=='p'||str[i]=='q'||str[i]=='r'||str[i]=='s')
{
str[i]='7';
}
else if(str[i]=='t'||str[i]=='u'||str[i]=='v')
{
str[i]='8';
}
else if(str[i]=='w'||str[i]=='x'||str[i]=='y'||str[i]=='z')
{
str[i]='9';
}
else
{
str[i]=str[i]+7;
}
}
for(int i=0;i<str.size();i++)
{
cout<<str[i];
}
cout<<endl;
}
return 0;
}
简单密码破解
最新推荐文章于 2024-04-12 16:00:00 发布