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

Автор codingdude, история, 6 лет назад, По-английски

Hello everybody,

I was trying to solve this problem (http://codeforces.com/problemset/problem/359/D) but I am getting wrong answer on test case 39. I am not getting why it is happening so.

My algo is simple and straight forward. For each query, I am trying to find value of r — l and update my answer array according to that only.

Can anybody please help?

Thanks :)

My code — http://codeforces.com/contest/359/submission/34557265

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