namemeaningless @ 2024-11-16 19:20:09
#include<stdio.h>
int main()
{
int n,i;
scanf("%d",&n);
getchar();
char a[51];
for(i=0;i<50;++i)
{a[i]=getchar();
if(a[i]=='\n')
break;
if(a[i]+n<123&&a[i]!='\n')
{a[i]+=n;}
else {
a[i]=a[i]+n-26;
}
printf("%c",a[i]);}
return 0;
}
by An15163220501 @ 2024-12-10 21:08:43
我其他都对了,第二个点错了