English, asked by ramyajami510, 2 months ago

you are giving a string s of length n. the strung s consists of digits from 1-9. consider the string indexing to be 1 based you need to divide the string into blocks such as ith block contaims the element from the index ((i-1) *x+1) to min(N, (i*X)) both inclusive. a number is valid if it is gormed by choosing exactly ine digit from each block and placing the digits in the order of their block number​

Answers

Answered by suhas214hydcos
0

Answer:

please make me BRAINLIST ANSWER

Answered by avinashkumardarling
1

Explanation:

Ex:

input:

10 3 10

1234567891

output:

2471

Attachments:
Similar questions