You are not logged in. Please login at to post your questions!


What is wrong with the following code for MULTQ3 ?

Hello, I have used segment tree with lazy propagation for the problem.
I have stored 3 things in the segment tree (no of numbers with mod 0, 1 and 2). I have tried several test cases for the problem, but I am unable to find any test case which gives problem with the code.
Can somebody provide a test case on which this code wouldn't work or any problem in the code ?

asked 26 Dec '15, 20:54

ps06756's gravatar image

accept rate: 9%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 26 Dec '15, 20:54

question was seen: 590 times

last updated: 26 Dec '15, 20:54