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

×

update on BreakTheCode 2015 -Noisy Gtbit

the update for the ques Noisy Gtbit is not yet available, but it is been announced on the contest

asked 03 Mar '15, 09:46

jain_mj's gravatar image

3★jain_mj
372119
accept rate: 25%


It is available right now.

Note: If two or more index have minimum number of students then print the largest index.

This enabled me to get accepted.

link

answered 03 Mar '15, 10:27

Amit%20Karmakar's gravatar image

2★Amit Karmakar
161
accept rate: 50%

its now giving time limit exceed error..... :( whats the complexity of your algo

(03 Mar '15, 10:34) jain_mj3★

This question was based on RMQ. Time complexity for building tree is O(n) and for query it is O(logn)

link

answered 04 Mar '15, 00:20

aadi%4009's gravatar image

1★aadi@09
1612
accept rate: 33%

is a tutorial or any other such thing availabe on codechef for the RMQ

(12 Mar '15, 00:43) jain_mj3★

1) Topcoder Tutorial on RMQ,
2) GeeksforGeeks Tutorial on RMQ.

Hope it helps :)

link

answered 12 Mar '15, 00:57

rjohari23's gravatar image

3★rjohari23
779214
accept rate: 14%

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,427

question asked: 03 Mar '15, 09:46

question was seen: 772 times

last updated: 12 Mar '15, 00:57