Spoj: Getting WA in http://www.spoj.com/problems/WINDVANE/. Please help!

Правка en1, от elita15, 2016-05-25 11:51:05

I used 2D BIT (Range Updates, Point queries) to solve this problem . Here is my solution which results in WA. Can someone please tell me why is this solution failing?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский elita15 2016-05-25 11:51:05 269 Initial revision (published)