Please read the new rule regarding the restriction on the use of AI tools. ×

john9's blog

By john9, 12 years ago, In English

this is the problem 220B - Маленький Слоник и массив my solution:- 2096939 thanks in advance

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

| Write comment?
»
12 years ago, # |
  Vote: I like it 0 Vote: I do not like it

You should precompute the function f[i][j] which means the number of integer i from 1 to j in the array.