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

×

FRMQ-APRIL CHALLENGE PROBLEM

I submitted the problem using segment trees but got 70 points only...then i saw the inherent pattern in the queries..that were being generated by the formulae...by the corresponding N values... and came with a faster dp approach but still got 70 points.... finally i wrote a sparse table...for quering in O(1) ...but still got 70 points... people got AC using sparse table...where did i go wrong? here is my solution http://www.codechef.com/viewsolution/6754646

asked 13 Apr '15, 18:26

coolsduy's gravatar image

3★coolsduy
1639
accept rate: 25%

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:

×46
×27
×6

question asked: 13 Apr '15, 18:26

question was seen: 1,384 times

last updated: 13 Apr '15, 18:26