OJ-Problems-Source/QUSTOJ/1373.cpp

15 lines
222 B
C++
Raw Normal View History

2016-05-23 21:42:56 +08:00
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
char buff[1024];
int main()
{
int n;
scanf("%d%*c",&n);
gets(buff);
scanf("%d",&n);
printf("%s\n",buff+n-1);
return 0;
}