NOJ/55/main.c

13 lines
221 B
C
Raw Permalink Normal View History

2020-08-31 16:46:43 +00:00
#include <stdio.h>
#include <string.h>
int main(void){
char string[1024];
scanf("%s",string);
int m, i, len = strlen(string);
scanf("%d",&m);
for(i = m; i < len; i++) putchar(string[i]);
printf("\n");
return 0;
}