Not getting solution

Правка en1, от codingdude, 2018-01-25 23:17:51

Hello everybody,

I was trying to solve this problem (http://codeforces.me/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.me/contest/359/submission/34557265

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский codingdude 2018-01-25 23:17:51 477 Initial revision (published)