|
|
back to boardhint Posted by Pavel 23 Dec 2021 13:16 If you are storing hashes in a segtree and using some custom prime divider the values of the parent nodes can be less than the child nodes because the remainder "makes a round", so to subtract u have to add that round, I think this is what is actually happening in test 2. |
|
|