This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def UPPER_BOUND = 1000001 // SetWithRangeSums.MODULUS | |
def PROBLEM_SIZE = 100000 | |
def javaSet = new SetWithRangeSums.SummingTreeSet() | |
def avlSet = new SetWithRangeSums.PrincetonAvlTree() | |
/* The inputs from the assignment are about 45 % insertion, 45 % queries, 5 % deletion, | |
and 5% range sums. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def UPPER_BOUND = 1000001 // SetWithRangeSums.MODULUS | |
def PROBLEM_SIZE = 100000 | |
def javaSet = new SetWithRangeSums.SummingTreeSet() | |
def avlSet = new SetWithRangeSums.PrincetonAvlTree() | |
/* The inputs from the assignment are about 45 % insertion, 45 % queries, 5 % deletion, | |
and 5% range sums. | |
*/ |