String is not that Easy

Let’s consider a string S which is obtained by concatenating the non-negative integers from 0 to 102…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

@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.