花满楼_落枫 @ 2018-12-06 15:19:39
代码:
#include<bits/stdc++.h>
using namespace std;
int main(){
int i;
string s;
cin>>i;
cin>>s;
for(long long j=0;j<s.length();j++){
s[j]=s[j]+i;
cout<<s[j];
}cout<<endl;
return 0;
}
如能帮助,千恩万谢
by kfhkx @ 2018-12-06 15:47:33
你要加特判啊,(z的下一个字母是a)
by lsilencej @ 2018-12-06 16:18:43
特判
by hnyqwq @ 2019-02-08 11:26:29
特判++
by hnyqwq @ 2019-02-08 11:27:14
考古