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


IITI15 - Editorial


alt text alt text alt text alt text alt text

Author's Solution can be found here

asked 05 Feb '14, 15:33

iiti_adm's gravatar image

accept rate: 0%

edited 18 Apr '17, 22:09

admin's gravatar image

0★admin ♦♦

Any similar problems for practice?

(05 Feb '14, 23:20) karan1735★

@karan173 There are many problems which can be solved using the "trick" for offline queries as described in the editorial. Some of them are: Chef and Substrings : Tree and Queries : Jeff and Removing Periods :

(06 Feb '14, 21:13) iiti_adm0★

Thanks for replying and for the great editorial! Will look at the problems!

(08 Feb '14, 17:22) karan1735★

Thanks for the editorial, I have come across a similar question on hacker earth with stricter constraints :

the author's solution gives SIGSEGV even after changing chunk vector size (1000) , editorial on hackerearth seems to do something different with 2 fenwick trees any help on explaining hacker earth approach or modifying author's solution to pass it on hacker earth will be much appreciated


answered 27 Dec '18, 17:41

adi1992's gravatar image

accept rate: 0%

edited 27 Dec '18, 17:42

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: 05 Feb '14, 15:33

question was seen: 4,061 times

last updated: 27 Dec '18, 17:42