String is not that Easy

Let’s consider a string S which is obtained by concatenating the non-negative integers from 0 to 102000 without leading zeroes and in increasing order.


This is a companion discussion topic for the original entry at https://toph.co/p/infinite-string

@hjr265 This problem has CRLF line endings or something like that causing me WA on samples (submission no 411947). But when I applied .strip() method It got accepted (submission no 411949).

Thank you @mdvirus! The test case files have updated and your submission has been rejudged.