老几把登 @ 2017-10-31 23:01:31
#include<bits/stdc++.h>
using namespace std;
int main()
{
int N;
cin>>N;
getchar();
char former[100];
gets(former);
for(int i=0;i<strlen(former);i++)
{
former[i]=(former[i]-'a'+N)%26+'a';
}
cout<<former;
return 0;
}