深海大海带 @ 2018-05-29 15:32:34
#include <iostream>
#include <string>
using namespace std;
int n;
string q;
char a;
int main()
{
cin>>n>>q;
int b=q.length();
for(int i=0;i<b;i++)
{
a=q[i]+n%26;
cout<<a;
}
return 0;
}
by zhang0926 @ 2018-06-23 20:41:05
char a改成int a