Create 1373.cpp

pull/16/head^2
Kirigaya Kazuto 2016-05-23 21:42:56 +08:00
parent c33502ce4e
commit 0291092c50
1 changed files with 14 additions and 0 deletions

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;
}