_Aragorn_'s blog

By _Aragorn_, history, 6 years ago, In English

Hi, I am trying to solve 514D - R2D2 and Droid Army using Sliding Window and Sparse Table. Everything looks fine, but don't know why I am getting WA on Test case 21.

Here is my code : Solution.

Full text and comments »

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

By _Aragorn_, history, 6 years ago, In English

Trying to solve 295A - Greg and Array using segment tree. Don't have any idea why I am getting WA on case 11.

Here is my code: 295A

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it