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


ADDMUL Wrong Answer Codechef

Hi, I have been trying hard to solve the subtask 3 (for 30 points) of the problem

I have implemented segment tree with lazy propogation and everything seems fine..But still getting WA. Can anyone find a test case where the solution not works or any mistake in the code? (Please keep in mind that the solution is targeted for Subtask 3 only i.e queries of type 3 will not be there).

My solution goes here

asked 28 Jun '16, 20:49

sandeep9's gravatar image

accept rate: 4%

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: 28 Jun '16, 20:49

question was seen: 381 times

last updated: 28 Jun '16, 20:49