Hints for SRM 611, D2, 250-pointer (InterestingNumber)

James S. Plank

Tue Mar 4 18:34:05 EST 2014
Problem Statement.
I was surprised to see that only 52 percent of the Topcoders got this one correct. It doesn't feel tricky to me.

As always, the key is to think precisely about how you are testing the string. You want to do the following for each digit from '0' through '9':