Is there a way to improve this solution ?

Revision en1, by Hisham_hates_graphs, 2022-01-05 07:31:49

lately I starting studying segment tree in the EDU section

there are some problem to practice that the introducer didnt solve and leave it as exercises

I tried to solve this one but unfortunately the result was (time limit exceeded)

can you help me solving this problem or tell me what is the problem in my solution

this is the problem [problem:274684B]

and this is my solution [submission:141586274]

Tags segment tree, time limit exceeded, matrix

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English Hisham_hates_graphs 2022-01-05 07:37:50 343
en2 English Hisham_hates_graphs 2022-01-05 07:34:30 27
en1 English Hisham_hates_graphs 2022-01-05 07:31:49 457 Initial revision (published)