hanlingyi @ 2023-01-17 11:57:00
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char** argv) {
int n,i=0;
char a[51];
cin>>n;
scanf("%s",a);
while(a[i]!='\0'){
if(a[i]>'z')a[i]='a';
a[i]+=n;
cout<<a[i];
i++;
}
return 0;
}
by hanlingyi @ 2023-01-17 11:58:03
60分求助