Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

doomsfear's blog

By doomsfear, 10 years ago, In English

I want to get nth digit of the lucky string . Lucky string is made by the concatenation of lucky digits i.e. 4 and 7 in the increasing order . Thus lucky string is 4744477477444.... and so on.

Value of n is of the order 10^15 .

How to solve this type of problem ? Is there any DP solution ?

Example : n=1 ans is 4 . n=10 ans is 4.

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By doomsfear, 11 years ago, In English

Please increase the frequency of contests , and list the upcoming contests of the month at the beginning of the month . Its hurts to see 'No contests' in the Contests tab .

-A wannabe coder

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it