Dice369's blog

By Dice369, history, 2 years ago, In English

During string hashing I have been trying to use single hash only(learned recently), I just use coprime for base and mod. Can I get in trouble for not using double hash. Thanks in advance for any helpful reply

  • Vote: I like it
  • +2
  • Vote: I do not like it

| Write comment?
»
2 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Yes, single hashing is easy to hack during contest time!

»
2 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

You can use my pre-published template for Double Hash.