You are not logged in. Please login at www.codechef.com 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 https://www.codechef.com/problems/ADDMUL

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 https://www.codechef.com/viewsolution/10636427

asked 28 Jun '16, 20:49

sandeep9's gravatar image

3★sandeep9
4782827
accept rate: 4%

toggle preview
Preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×1,768
×141

question asked: 28 Jun '16, 20:49

question was seen: 381 times

last updated: 28 Jun '16, 20:49