# include <stdio.h>
# include <string.h>
# include <math.h>
main()
{
int n,m,i;
scanf("%d ",&n);
char a[n];
for(i=0;i<n;i++)
{
scanf("%c ",&a[i]);
}
scanf("%d",&m);
char b[n-m+1];
for(i=0;i<n-m+1;i++)
{
b[i]=a[i+m-1];
}
for(i=0;i<n-m+1;i++)
{
printf("%c",b[i]);
}
}
1048
最新推荐文章于 2024-10-15 13:34:42 发布