3_Problems_Everyday's blog

By 3_Problems_Everyday, history, 3 years ago, In English

Hi all ,

Could anybody please help me in debugging this 36180668 . It is not printing anything after sort function is called . Thanks in advance .

Read more »

 
 
 
 
  • Vote: I like it
  • -15
  • Vote: I do not like it

By 3_Problems_Everyday, history, 4 years ago, In English

In 1-D we can find sum in range [l, r] using sum[r] - sum[l - 1].

In 2-D we can find sum in range from (x1, y1) to (x2, y2) using sum[x2][y2] - sum[x2][y1] - sum[x1][y2] + sum[x1][y1] where sum[] or sum[][] is cumulative sum .

How to find sum in range from (x1, y1, z1) to (x2, y2, z2) in a similar way ?

Read more »

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

By 3_Problems_Everyday, history, 5 years ago, In English

Could anyone please tell me how to solve Problem E . I have seen some codes which use a segment tree but i am not able to understand. Also there is no editorial for this round .Any help would be appreciated. Thanks in advance.

Read more »

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

By 3_Problems_Everyday, history, 5 years ago, In English

Hello everyone ! I am trying to solve this problem.I didn't understand the editorial properly. Please help me to understand the binary raise used in the editorial. Because i am new to this concept, provide me some tutorial to learn it.Thanks :)

Read more »

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