Catmint @ 2019-01-26 21:38:38
#include<stdio.h>
#include<stdlib.h>
int main()
{
int n,i;
char code[100];
scanf("%d%*c",&n);
gets(code);
for(i=0;code[i];i++)
{
if(code[i]+n<='z') putchar(code[i]+n);
else putchar('a'+n+code[i]-'z'-1);
}
return 0;
}
by 洛天依_ @ 2019-01-26 22:33:06
@Catmint so?
by 洛天依_ @ 2019-01-26 22:33:27
@Catmint ??干嘛
by Catmint @ 2019-01-26 22:35:38
@洛天依_ 没,我在修,他怎么自动发了。。。谢谢大佬了= =,我再琢磨琢磨