wangtianyu1204 @ 2019-08-29 13:06:33
using namespace std;
int main()
{
int n,m;
char a[80];
cin>>n>>a;
m=strlen(a);
for(int i=0;i<m;i++)
{
a[i]+=n;
if(a[i]>'z')
a[i]='a'-1+a[i]-'z';
}
puts(a);
return 0;
}
by chenxia25 @ 2019-08-29 13:09:44
希望更丰富的展现?使用Markdown
by Sophon @ 2019-08-29 13:17:51
因为
by Sophon @ 2019-08-29 13:18:13
@wangtianyu1204
by wangtianyu1204 @ 2019-08-29 18:30:20
@Sophon 谢谢大佬,茅厕顿开