Блог пользователя Loser_

Автор Loser_, история, 3 года назад, По-английски

hello I am stuck in this problem Digit Queries.I think I need to use recursion here although not quite sure how? Which algo or technique I need to study to solve this problem? Also please share similar types of problems from other ojs.Please help me with that.

  • Проголосовать: нравится
  • -2
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

simple constructive algorithms is enough to solve this

»
3 года назад, # |
Rev. 3   Проголосовать: нравится 0 Проголосовать: не нравится

This string contains numbers, numbers contain digits.

Note: summary length of all n-digit numbers is easy to calculate.

more detailed solution