ThestarRY丶 @ 2018-05-04 19:57:11
#include<bits/stdc++.h>
using namespace std;
int n;
char c[55];
int main()
{
scanf("%d",&n);
n%=26;
scanf("%s",c);
int l=strlen(c);
for(int i=0;i<l;i++)
{
if(c[i]+n-1=='z')
c[i]='a';
else
c[i]+=n;
}
printf("%s",c);
return 0;
}
On line 1 column 3, read |���, expected bwxy. 得分0
这是错的测试点
by WAMonster @ 2018-05-04 20:17:01
貌似移动多了出现了不知名字符
by Shui_Dream @ 2018-06-08 14:41:19
@misaya丶 你输出的是数字吧