×

# IITI15 - Editorial

 6 4 Author's Solution can be found here asked 05 Feb '14, 15:33 0★iiti_adm 86●1●4●5 accept rate: 0% 0★admin ♦♦ 19.7k●350●498●541 Any similar problems for practice? (05 Feb '14, 23:20) karan1735★ 1 @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 : http://www.codechef.com/COOK41/problems/GERALD3 Tree and Queries : http://codeforces.com/contest/375/problem/D Jeff and Removing Periods : http://codeforces.com/contest/351/problem/D (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★

 0 Thanks for the editorial, I have come across a similar question on hacker earth with stricter constraints : https://www.hackerearth.com/practice/data-structures/advanced-data-structures/fenwick-binary-indexed-trees/practice-problems/algorithm/sherlock-and-inversions/description/ 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 3★adi1992 2●1 accept rate: 0%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×15,498
×1,237
×371
×39
×8
×4

question asked: 05 Feb '14, 15:33

question was seen: 4,061 times

last updated: 27 Dec '18, 17:42