|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|1 초||512 MB||13||9||8||72.727%|
substring() function is a commonly-used operation available in most programming languages that operates on strings. A start offset and a length are provided and used to construct a new string containing only the characters in a sequence of that length beginning from the offset.
One particular string has had this called a large number of times in sequence: we repeatedly used the standard library function
substring(s, start, length) to chop it up until now a potentially much shorter string remains.
Find the value of the string produced by all of these operations.
Output the string after all of the successive substring() operations.
helloworld 2 1 9 0 5
abcdefghijklmnopqrstuvwxyz 8 1 24 1 22 1 20 1 18 1 16 1 14 1 12 1 10