Create 1373.cpp

This commit is contained in:
Kirigaya Kazuto 2016-05-23 21:42:56 +08:00
parent c33502ce4e
commit 0291092c50

14
QUSTOJ/1373.cpp Normal file
View File

@ -0,0 +1,14 @@
#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;
}