/**
* 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可
*
* 进行凯撒解密
* @param password string字符串 旺仔哥哥的密码
* @param n int整型 每个字符加密过程中错位的次数
* @return string字符串
*/
char* decodeWangzai(char* password, int n ) {
// write code here
char s[10000]={0};
char* p=&s[0];
char* ret=p;
while(*password!='\0')
{
*p=(*password-'a'-(n%26)+26)%26+'a';
p++;
password++;
}
return ret;
}

京公网安备 11010502036488号