sazzad8867's blog

By sazzad8867, 5 years ago, In English,

http://www.spoj.com/problems/DQUERY/en/ I tried to solve this problem with divide and conquer.

But in spoj verdicts is segmentation fault. Here is my code.... http://ideone.com/8g7Lyl

Isn't complexity O(nlogn) in total???

Read more »

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