Chx_ini's blog

By Chx_ini, history, 11 months ago, In English

I wanted help in atcoder educational DP contest Task T. I understand the whole idea of task and i had a confusion in the transition when the sign is > then according to editorial then are summing all the values will n including the j itself.

awoo comented on this which is

here

img But i still dont get it how it is going to stop double counting. and whats the use of including the current digit j.When there is inequality.

thanks in advance.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it