mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
15 lines
222 B
C++
15 lines
222 B
C++
#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;
|
|
}
|