mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
Create 1373.cpp
This commit is contained in:
parent
c33502ce4e
commit
0291092c50
14
QUSTOJ/1373.cpp
Normal file
14
QUSTOJ/1373.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user